2017-07-20 13:57:57 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, pip }:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "setuptools_scm";
|
|
|
|
name = "${pname}-${version}";
|
2018-04-04 19:16:59 +01:00
|
|
|
version = "1.17.0";
|
2017-07-20 13:57:57 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-04 19:16:59 +01:00
|
|
|
sha256 = "70a4cf5584e966ae92f54a764e6437af992ba42ac4bca7eb37cc5d02b98ec40a";
|
2017-07-20 13:57:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pip ];
|
|
|
|
|
|
|
|
# Seems to fail due to chroot and would cause circular dependency
|
|
|
|
# with pytest
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://bitbucket.org/pypa/setuptools_scm/;
|
|
|
|
description = "Handles managing your python package versions in scm metadata";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jgeerds ];
|
|
|
|
};
|
|
|
|
}
|