Skip to content

Commit

Permalink
pythonPackages.setuptools_scm: 1.15.0 -> 1.15.6
Browse files Browse the repository at this point in the history
  • Loading branch information
lsix authored and FRidh committed Aug 25, 2017
1 parent d2b5850 commit 84c6e6b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 25 deletions.
24 changes: 24 additions & 0 deletions pkgs/development/python-modules/setuptools_scm/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{ stdenv, buildPythonPackage, fetchPypi, pip }:
buildPythonPackage rec {
pname = "setuptools_scm";
name = "${pname}-${version}";
version = "1.15.6";

src = fetchPypi {
inherit pname version;
sha256 = "0pzvfmx8s20yrgkgwfbxaspz2x1g38qv61jpm0ns91lrb22ldas9";
};

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 ];
};
}
26 changes: 1 addition & 25 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21025,31 +21025,7 @@ in {
'';
};

setuptools_scm = buildPythonPackage rec {
name = "setuptools_scm-${version}";
version = "1.15.0";

src = pkgs.fetchurl {
url = "mirror://pypi/s/setuptools_scm/${name}.tar.gz";
sha256 = "0bwyc5markib0i7i2qlyhdzxhiywzxbkfiapldma8m91m82jvwfs";
};

buildInputs = with self; [ pip ];
checkInputs = with self; [ pytest ];
# Seems to fail due to chroot
doCheck = false;

checkPhase = ''
py.test
'';

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 ];
};
};
setuptools_scm = callPackage ../development/python-modules/setuptools_scm { };

setuptools_scm_18 = self.setuptools_scm.override rec {
name = "setuptools_scm-${version}";
Expand Down

0 comments on commit 84c6e6b

Please sign in to comment.