[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
25/26: gnu: Add python-jsonargparse.
From: |
guix-commits |
Subject: |
25/26: gnu: Add python-jsonargparse. |
Date: |
Wed, 10 May 2023 13:31:01 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit ff59c49c44d81f564874fc2d604dbfae6d35148d
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed May 10 18:22:11 2023 +0200
gnu: Add python-jsonargparse.
* gnu/packages/python-xyz.scm (python-jsonargparse): New variable.
---
gnu/packages/python-xyz.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 772de8fc78..8bd43cb6d3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3385,6 +3385,53 @@ audio playback capability for Python 3 on OSX, Windows,
and Linux.")
Python.")
(license license:expat)))
+(define-public python-jsonargparse
+ (package
+ (name "python-jsonargparse")
+ (version "4.21.1")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "jsonargparse" version))
+ (sha256
+ (base32
+ "1k3b60x0zf86fh50y2jyby30gksqriyvvpfnf5mqq0qn7jih01y7"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ '(list "-k" (string-append "not test_env_prefix"
+ " and not test_basemodel"
+ " and not test_field_default_factory"
+ " and not test_field_description"
+ " and not
test_get_param_relative_import_from_init"
+ ;; Strangely, the arguments are interpreted
+ ;; as arguments to pytest.
+ " and not test_pydantic_types"))))
+ (propagated-inputs
+ (list python-contextvars
+ python-dataclasses
+ python-docstring-parser
+ python-pyyaml
+ python-typeshed-client))
+ (native-inputs
+ (list python-attrs
+ python-coverage
+ python-pre-commit
+ python-pycodestyle
+ python-pydantic
+ python-pytest
+ python-pytest-subtests
+ python-responses
+ python-tox
+ python-types-requests))
+ (home-page "https://github.com/omni-us/jsonargparse/")
+ (synopsis "Implement minimal boilerplate CLIs derived from type hints")
+ (description
+ "This package lets you implement minimal boilerplate CLIs derived from
+type hints and parse from command line, config files and environment
+variables.")
+ (license license:expat)))
+
(define-public python-simplejson
(package
(name "python-simplejson")
- 16/26: gnu: Add python-starlette-for-fastapi-0.88., (continued)
- 16/26: gnu: Add python-starlette-for-fastapi-0.88., guix-commits, 2023/05/10
- 08/26: gnu: Add python-types-setuptools., guix-commits, 2023/05/10
- 10/26: gnu: python-blessed: Update to 1.20.0., guix-commits, 2023/05/10
- 23/26: gnu: Add python-starsessions-for-pytorch-lightning., guix-commits, 2023/05/10
- 20/26: gnu: python-arrow: Update to 1.2.3., guix-commits, 2023/05/10
- 13/26: gnu: python-scikit-optimize: Fix build with newer numpy and sklearn., guix-commits, 2023/05/10
- 19/26: gnu: Add python-types-requests., guix-commits, 2023/05/10
- 01/26: gnu: python-pytorch: Update to 1.13.1., guix-commits, 2023/05/10
- 06/26: gnu: Add python-lightning-utilities., guix-commits, 2023/05/10
- 15/26: gnu: Add python-inquirer., guix-commits, 2023/05/10
- 25/26: gnu: Add python-jsonargparse.,
guix-commits <=
- 26/26: gnu: Add python-pytorch-lightning., guix-commits, 2023/05/10
- 14/26: gnu: Add python-readchar., guix-commits, 2023/05/10
- 07/26: gnu: Add python-mir-eval., guix-commits, 2023/05/10
- 24/26: gnu: Add python-docstring-parser., guix-commits, 2023/05/10
- 18/26: gnu: Add python-types-urllib3., guix-commits, 2023/05/10
- 04/26: gnu: python-pytorch-for-r-torch: Define as alias for python-pytorch., guix-commits, 2023/05/10
- 21/26: gnu: python-torchvision: Update to 0.15.2., guix-commits, 2023/05/10
- 05/26: gnu: Add python-lightning-cloud., guix-commits, 2023/05/10
- 11/26: gnu: python-pillow-simd: Update to 9.2.0., guix-commits, 2023/05/10
- 09/26: gnu: Add python-torchmetrics., guix-commits, 2023/05/10