[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#43072] [PATCH 1/2] gnu: Add python-dparse.
From: |
Tanguy Le Carrour |
Subject: |
[bug#43072] [PATCH 1/2] gnu: Add python-dparse. |
Date: |
Thu, 27 Aug 2020 16:41:14 +0200 |
* gnu/packages/python-xyz.scm (python-dparse): New variable.
---
gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e32d7771cf..49156ce6ee 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21750,3 +21750,27 @@ 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
+ "A parser for Python dependency files.")
+ (license license:expat)))
--
2.28.0