1{ stdenv, buildPythonPackage, fetchPypi, pip }:
2buildPythonPackage rec {
3 pname = "setuptools_scm";
4 name = "${pname}-${version}";
5 version = "1.15.6";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "0pzvfmx8s20yrgkgwfbxaspz2x1g38qv61jpm0ns91lrb22ldas9";
10 };
11
12 buildInputs = [ pip ];
13
14 # Seems to fail due to chroot and would cause circular dependency
15 # with pytest
16 doCheck = false;
17
18 meta = with stdenv.lib; {
19 homepage = https://bitbucket.org/pypa/setuptools_scm/;
20 description = "Handles managing your python package versions in scm metadata";
21 license = licenses.mit;
22 maintainers = with maintainers; [ jgeerds ];
23 };
24}