summary refs log tree commit diff
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2017-11-28 14:42:42 -0500
committerLeo Famulari <leo@famulari.name>2017-11-28 14:49:07 -0500
commit9b3c7520eb8fde918660745ded8dc0574f019442 (patch)
treee9bada9f60693ea20581cfddd52897c30360c029
parent427a51fd8f3d2b24a08b4c0cbc4977fbd42b933b (diff)
downloadguix-9b3c7520eb8fde918660745ded8dc0574f019442.tar.gz
gnu: Add python-setuptools-scm-git-archive.
* gnu/packages/python.scm (python-setuptools-scm-git-archive,
python2-setuptools-scm-git-archive): New variables.

Signed-off-by: Leo Famulari <leo@famulari.name>
-rw-r--r--gnu/packages/python.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 7b2268d133..f5575034da 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -11856,3 +11856,30 @@ services.")
 
 (define-public python2-jsonrpclib-pelix
   (package-with-python2 python-jsonrpclib-pelix))
+
+(define-public python-setuptools-scm-git-archive
+  (package
+    (name "python-setuptools-scm-git-archive")
+    (version "1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "setuptools_scm_git_archive" version))
+       (sha256
+        (base32
+         "1nii1sz5jq75ilf18bjnr11l9rz1lvdmyk66bxl7q90qan85yhjj"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-pytest-3.0" ,python-pytest-3.0)))
+    (propagated-inputs
+     `(("python-setuptools-scm" ,python-setuptools-scm)))
+    (home-page "https://github.com/Changaco/setuptools_scm_git_archive/")
+    (synopsis "Setuptools_scm plugin for git archives")
+    (description
+     "The setuptools_scm_git_archive package is a plugin to
+setuptools_scm, which supports obtaining versions from git archives that
+belong to tagged versions.")
+    (license license:expat)))
+
+(define-public python2-setuptools-scm-git-archive
+  (package-with-python2 python-setuptools-scm-git-archive))