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