[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/18: gnu: Add python-cfgv.
From: |
guix-commits |
Subject: |
13/18: gnu: Add python-cfgv. |
Date: |
Sat, 25 Jul 2020 12:49:18 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 9c4d0d29a25def622ff2020ca472d464259cff13
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Fri Jul 24 09:01:40 2020 -0300
gnu: Add python-cfgv.
* gnu/packages/python-xyz.scm (python-cfgv): New variable.
Signed-off-by: Marius Bakke <marius@gnu.org>
---
gnu/packages/python-xyz.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 22b2c6b..a2ec1fc 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17578,6 +17578,38 @@ Let's Encrypt.")
(define-public python2-dns-lexicon
(package-with-python2 python-dns-lexicon))
+(define-public python-cfgv
+ (package
+ (name "python-cfgv")
+ (version "3.1.0")
+ (source
+ (origin
+ ;; There are no tests in the PyPI tarball.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/asottile/cfgv")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1vvkkqw92sak4b28bpscpppq483amy52ch2yqy1i2m23q7xjkabx"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (invoke "pytest" "-vv"))))))
+ (native-inputs
+ `(("python-covdefaults" ,python-covdefaults)
+ ("python-coverage" ,python-coverage)
+ ("python-pytest" ,python-pytest)))
+ (home-page "https://github.com/asottile/cfgv")
+ (synopsis "Configuration validation library")
+ (description
+ "This library helps to validate configuration files and produce human
+readable error messages.")
+ (license license:expat)))
+
(define-public python-commandlines
(package
(name "python-commandlines")
- branch master updated (b890117 -> 07dbdbd), guix-commits, 2020/07/25
- 01/18: gnu: ao: Update source URI., guix-commits, 2020/07/25
- 04/18: gnu: Add syncthing-gtk., guix-commits, 2020/07/25
- 03/18: gnu: procenv: Check is a native input., guix-commits, 2020/07/25
- 02/18: gnu: libsigrok: Remove unused input., guix-commits, 2020/07/25
- 05/18: gnu: python-typing-extension: Update to 3.7.4.2., guix-commits, 2020/07/25
- 06/18: gnu: Add python-pytest-arraydiff., guix-commits, 2020/07/25
- 10/18: gnu: Add python-pytest-remotedata., guix-commits, 2020/07/25
- 13/18: gnu: Add python-cfgv.,
guix-commits <=
- 15/18: gnu: Add python-nodeenv., guix-commits, 2020/07/25
- 17/18: gnu: Add python-pre-commit., guix-commits, 2020/07/25
- 07/18: gnu: Add python-pytest-doctestplus., guix-commits, 2020/07/25
- 08/18: gnu: Add python-pytest-filter-subpackage., guix-commits, 2020/07/25
- 09/18: gnu: Add python-pytest-openfiles., guix-commits, 2020/07/25
- 11/18: gnu: Add python-pytest-mpl., guix-commits, 2020/07/25
- 12/18: gnu: Add python-covdefaults., guix-commits, 2020/07/25
- 14/18: gnu: Add python-identify., guix-commits, 2020/07/25
- 16/18: gnu: Add python-pytest-env., guix-commits, 2020/07/25
- 18/18: gnu: beets: Support replaygain plugin., guix-commits, 2020/07/25