summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-12-22 23:07:17 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-27 19:59:51 +0000
commitb2d0310d0e22ab17b49d765ed56c5cb6cddb7783 (patch)
tree28aa094126882cc923fae0a5ad8a69f5bf451f8b /gnu/packages
parentd8af184753b9ceccda0cd75920668ed0149a6beb (diff)
gnu: Add tms.
* gnu/packages/python-check.scm (tms): New variable. Change-Id: I4ccbef53f4fc284aff3ce55f5f7f6d578b9f817f Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-check.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 45291317bdb..ce307e61c52 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -92,6 +92,7 @@
#:use-module (guix download)
#:use-module (guix gexp)
#:use-module (guix git-download)
+ #:use-module (guix hg-download)
#:use-module (guix packages)
#:use-module (guix utils))
@@ -5042,3 +5043,27 @@ the X11 display server protocol. It runs in memory and does not require a
physical display. Only a network layer is necessary. Xvfb is useful for
running acceptance tests on headless servers.")
(license license:expat)))
+
+(define-public tms
+ (package
+ (name "tms")
+ (version "0.1.2")
+ (source
+ (origin
+ (method hg-fetch)
+ (uri (hg-reference
+ (url "https://hg.sr.ht/~olly/tms")
+ (changeset (string-append "v" version))))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32 "1k8v8vx0klz3zfj81g9d1rancn819sv51lgs5j94x69kqzgn3fsw"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:test-backend #~'custom
+ #:test-flags #~(list "tests.py")))
+ (native-inputs (list python-setuptools))
+ (home-page "https://hg.sr.ht/~olly/tms")
+ (synopsis "Test Match Special for test assertions")
+ (description
+ "This package provides match data structures and types in test code.")
+ (license license:bsd-2)))