mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
gnu: Add python-assay.
* gnu/packages/python-check.scm (python-assay): New variable. Change-Id: I0ec910d8c37000ff08119a33e3f42af2269fa494
This commit is contained in:
parent
310e0c7165
commit
fbece5a8e0
1 changed files with 33 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
|||
;;; Copyright © 2020 Edouard Klein <edk@beaver-labs.com>
|
||||
;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
|
||||
;;; Copyright © 2020 Tanguy Le Carrour <tanguy@bioneland.org>
|
||||
;;; Copyright © 2021-2023 Sharlatan Hellseher <sharlatanus@gmail.com>
|
||||
;;; Copyright © 2021-2024 Sharlatan Hellseher <sharlatanus@gmail.com>
|
||||
;;; Copyright © 2021 Brendan Tildesley <mail@brendan.scot>
|
||||
;;; Copyright © 2021, 2022 Guillaume Le Vaillant <glv@posteo.net>
|
||||
;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
|
||||
|
@ -61,6 +61,38 @@ (define-module (gnu packages python-check)
|
|||
#:use-module (guix packages)
|
||||
#:use-module (guix utils))
|
||||
|
||||
(define-public python-assay
|
||||
;; No release yet.
|
||||
(let ((commit "74617d70e77afa09f58b3169cf496679ac5d5621")
|
||||
(revision "0"))
|
||||
(package
|
||||
(name "python-assay")
|
||||
(version (git-version "0.0.0" revision commit))
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/brandon-rhodes/assay")
|
||||
(commit commit)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "1klxmamj88mn0q348r08zksccgsbch8sp0m4b04s3myrqnslp2nd"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:test-flags #~(list "-m" "assay.tests")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? test-flags #:allow-other-keys)
|
||||
(when tests?
|
||||
(apply invoke "python" test-flags)))))))
|
||||
(home-page "https://github.com/brandon-rhodes/assay")
|
||||
(synopsis "Python testing framework")
|
||||
(description
|
||||
"This package provides opiniotated Python test framework prototype.")
|
||||
(license license:expat))))
|
||||
|
||||
(define-public python-assertpy
|
||||
(package
|
||||
(name "python-assertpy")
|
||||
|
|
Loading…
Reference in a new issue