summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-07-28 16:37:14 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:36:15 +0100
commit36f86ab8658d056bd10af4fc168e0378ada69e5b (patch)
tree1b9d7a624990d1e76f94d00180deb401267e3286 /gnu/packages/python-xyz.scm
parent35102411215d81090e3cb9bbf8c78be876db6864 (diff)
gnu: python-argparse-dataclass: Activate tests.
* gnu/packages/python-xyz.scm (python-argparse-dataclass): [source]: Switch to git-fetch providing tests. [native-inputs]: Add python-pytest. Change-Id: I07ad635cf565c2bd3e916ac7d9c7148414c78748
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm11
1 files changed, 7 insertions, 4 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 172d7b38d0..cc531cbd64 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20009,12 +20009,15 @@ connection pool.")
(version "2.0.0")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "argparse_dataclass" version))
+ (method git-fetch) ;no tests in PyPI archive
+ (uri (git-reference
+ (url "https://github.com/mivade/argparse_dataclass")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32 "0zr9r4n00x2wi5kyzw3bxvrdp5k113jw7f9p4f414bsaj4f69aq9"))))
+ (base32 "0fbxs2a4jk5bvy42jlnqw4l02zs1s6mmfn4sr8rknyc4ngl4y9q1"))))
(build-system pyproject-build-system)
- (native-inputs (list python-setuptools python-wheel))
+ (native-inputs (list python-pytest python-setuptools python-wheel))
(home-page "https://github.com/mivade/argparse_dataclass")
(synopsis "Declarative command-line interfaces using argparse and dataclasses")
(description