1{ stdenv, buildPythonPackage, fetchPypi, pip }:
2buildPythonPackage rec {
3 pname = "setuptools_scm";
4 version = "3.1.0";
5
6 src = fetchPypi {
7 inherit pname version;
8 sha256 = "1191f2a136b5e86f7ca8ab00a97ef7aef997131f1f6d4971be69a1ef387d8b40";
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}