about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner2019-07-29 11:11:30 -0500
committerEfraim Flashner2019-07-29 11:11:30 -0500
commitd6dde66d5f61aca059d993aa8438567fa78e87a3 (patch)
tree3731eb341c0a7345b8eb23f1765c4577b9158265
parent89d2b75fa9254baa8ff0c95a5ad739b2453d23b5 (diff)
downloadguix-bioinformatics-d6dde66d5f61aca059d993aa8438567fa78e87a3.tar.gz
gn: python-bagit: Clean up package definition.
* gn/packages/python.scm (python-bagit)[source]: Use pypi uri.
[synopsis, description]: Update.
-rw-r--r--gn/packages/python.scm41
1 files changed, 19 insertions, 22 deletions
diff --git a/gn/packages/python.scm b/gn/packages/python.scm
index 5895015..f2d1319 100644
--- a/gn/packages/python.scm
+++ b/gn/packages/python.scm
@@ -183,30 +183,27 @@ until a value is returned.")
     (license license:asl2.0)))
 
 (define-public python-bagit; guix candidate
-(package
-  (name "python-bagit")
-  (version "1.7.0")
-  (source
-    (origin
-      (method url-fetch)
-      (uri "https://files.pythonhosted.org/packages/ee/11/7a7fa81c0d43fb4d449d418eba57fc6c77959754c5c2259a215152810555/bagit-1.7.0.tar.gz")
-      (sha256
-        (base32
+  (package
+    (name "python-bagit")
+    (version "1.7.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "bagit" version))
+        (sha256
+         (base32
           "1m6y04qmig0b5hzb35lnaw3d2yfydb7alyr1579yblvgs3da6j7j"))))
-  (build-system python-build-system)
-  (inputs
+    (build-system python-build-system)
+    (inputs
      `(("python-setuptools-scm" ,python-setuptools-scm)
-      ("python-coverage" ,python-coverage)
-      ("python-mock" ,python-mock)
-      ))
-  (arguments `(#:tests? #f)) ;; No tests.
-  (home-page "https://pypi.python.org/pypi/bagit")
-  (synopsis
-    "Python bagit.")
-  (description
-    "Python bagit.")
-  (license license:gpl2))
-)
+       ("python-coverage" ,python-coverage)
+       ("python-mock" ,python-mock)))
+    (arguments `(#:tests? #f)) ;; No tests.
+    (home-page "https://pypi.python.org/pypi/bagit")
+    (synopsis "Create and validate BagIt packages")
+    (description
+      "Create and validate BagIt packages")
+    (license license:gpl2)))
 
 (define-public python-prov ; guix candidate
 (package