On Sun, 1 Oct 2017 18:47:37 +0000 ng0 wrote: > * gnu/packages/python.scm (python2-setuptools-scm-git-archive): New > variable. --- > gnu/packages/python.scm | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) > > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm > index 052547316..de42e6835 100644 > --- a/gnu/packages/python.scm > +++ b/gnu/packages/python.scm > @@ -7424,6 +7424,28 @@ from an XML-based format.") > files. UFO is a file format that stores fonts source files.") > (license license:bsd-3))) > > +(define-public python2-setuptools-scm-git-archive > + (package > + (name "python2-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) > + (arguments > + `(#:python ,python-2)) > + (propagated-inputs > + `(("python2-setuptools-scm" ,python2-setuptools-scm))) > + (home-page > "https://github.com/Changaco/setuptools_scm_git_archive/") > + (synopsis "setuptools_scm plugin for git archives") > + (description > + "setuptools_scm plugin for git archives") Maybe use something like this for the 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))) guix lint warns about the synopsis: gnu/packages/python.scm:7504:14: python2-setuptools-scm-git-archive@1.0: synopsis should start with an upper-case letter or digit But other than that, this looks good to me.