2017-07-20 14:57:57 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, pip }:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "setuptools_scm";
|
2018-06-12 18:47:07 +02:00
|
|
|
version = "2.1.0";
|
2017-07-20 14:57:57 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-06-12 18:47:07 +02:00
|
|
|
sha256 = "a767141fecdab1c0b3c8e4c788ac912d7c94a0d6c452d40777ba84f918316379";
|
2017-07-20 14:57:57 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|