summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-04-03 21:15:01 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-04-30 21:36:12 +0100
commitfbece5a8e0f55d00c91edf082d01e1f9778a0913 (patch)
tree045e39c261471ea1c934222c221c5f78092b1c50 /gnu
parent310e0c7165d1fa006600417301c3c54ef5a5a3e8 (diff)
gnu: Add python-assay.
* gnu/packages/python-check.scm (python-assay): New variable. Change-Id: I0ec910d8c37000ff08119a33e3f42af2269fa494
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-check.scm34
1 files changed, 33 insertions, 1 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 777791cb6c5..6fdfaad6fb9 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -9,7 +9,7 @@
9;;; Copyright © 2020 Edouard Klein <edk@beaver-labs.com> 9;;; Copyright © 2020 Edouard Klein <edk@beaver-labs.com>
10;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net> 10;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
11;;; Copyright © 2020 Tanguy Le Carrour <tanguy@bioneland.org> 11;;; Copyright © 2020 Tanguy Le Carrour <tanguy@bioneland.org>
12;;; Copyright © 2021-2023 Sharlatan Hellseher <sharlatanus@gmail.com> 12;;; Copyright © 2021-2024 Sharlatan Hellseher <sharlatanus@gmail.com>
13;;; Copyright © 2021 Brendan Tildesley <mail@brendan.scot> 13;;; Copyright © 2021 Brendan Tildesley <mail@brendan.scot>
14;;; Copyright © 2021, 2022 Guillaume Le Vaillant <glv@posteo.net> 14;;; Copyright © 2021, 2022 Guillaume Le Vaillant <glv@posteo.net>
15;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com> 15;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
@@ -61,6 +61,38 @@
61 #:use-module (guix packages) 61 #:use-module (guix packages)
62 #:use-module (guix utils)) 62 #:use-module (guix utils))
63 63
64(define-public python-assay
65 ;; No release yet.
66 (let ((commit "74617d70e77afa09f58b3169cf496679ac5d5621")
67 (revision "0"))
68 (package
69 (name "python-assay")
70 (version (git-version "0.0.0" revision commit))
71 (source
72 (origin
73 (method git-fetch)
74 (uri (git-reference
75 (url "https://github.com/brandon-rhodes/assay")
76 (commit commit)))
77 (file-name (git-file-name name version))
78 (sha256
79 (base32 "1klxmamj88mn0q348r08zksccgsbch8sp0m4b04s3myrqnslp2nd"))))
80 (build-system pyproject-build-system)
81 (arguments
82 (list
83 #:test-flags #~(list "-m" "assay.tests")
84 #:phases
85 #~(modify-phases %standard-phases
86 (replace 'check
87 (lambda* (#:key tests? test-flags #:allow-other-keys)
88 (when tests?
89 (apply invoke "python" test-flags)))))))
90 (home-page "https://github.com/brandon-rhodes/assay")
91 (synopsis "Python testing framework")
92 (description
93 "This package provides opiniotated Python test framework prototype.")
94 (license license:expat))))
95
64(define-public python-assertpy 96(define-public python-assertpy
65 (package 97 (package
66 (name "python-assertpy") 98 (name "python-assertpy")