[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: Add python-dparse.
From: |
guix-commits |
Subject: |
01/02: gnu: Add python-dparse. |
Date: |
Thu, 27 Aug 2020 12:27:47 -0400 (EDT) |
lfam pushed a commit to branch master
in repository guix.
commit f2d70885c3e8b856d91b33801ba701a0038a0814
Author: Tanguy Le Carrour <tanguy@bioneland.org>
AuthorDate: Thu Aug 27 16:41:14 2020 +0200
gnu: Add python-dparse.
* gnu/packages/python-xyz.scm (python-dparse): New variable.
Signed-off-by: Leo Famulari <leo@famulari.name>
---
gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e32d777..26ee801 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21750,3 +21750,26 @@ It adds a simple and readable way to print stuff
during development.")
"@code{python-dateparser} provides modules to easily parse localized
dates in almost any string formats commonly found on web pages.")
(license license:bsd-3)))
+
+(define-public python-dparse
+ (package
+ (name "python-dparse")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "dparse" version))
+ (sha256
+ (base32
+ "0rzkg3nymsbwdjc0ms2bsajkda02jipwyp3xk97qj71f21lz3dd1"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
+ (propagated-inputs
+ `(("python-packaging" ,python-packaging)
+ ("python-pyyaml" ,python-pyyaml)
+ ("python-toml" ,python-toml)))
+ (home-page "https://github.com/pyupio/dparse")
+ (synopsis "Parser for Python dependency files")
+ (description "This package provides a parser for Python dependency files.")
+ (license license:expat)))