pythonPackages.setuptools-git: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 13:08:57 -04:00 committed by Frederik Rietdijk
parent 9974b330f6
commit 65d71d574f
2 changed files with 26 additions and 19 deletions

View File

@ -0,0 +1,25 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pkgs
}:
buildPythonPackage rec {
pname = "setuptools-git";
version = "1.1";
src = fetchPypi {
inherit pname version;
sha256 = "047d7595546635edebef226bc566579d422ccc48a8a91c7d32d8bd174f68f831";
};
propagatedBuildInputs = [ pkgs.git ];
doCheck = false;
meta = with stdenv.lib; {
description = "Setuptools revision control system plugin for Git";
homepage = https://pypi.python.org/pypi/setuptools-git;
license = licenses.bsd3;
};
}

View File

@ -2191,25 +2191,7 @@ in {
repoze_sphinx_autointerface = callPackage ../development/python-modules/repoze_sphinx_autointerface { };
setuptools-git = buildPythonPackage rec {
name = "setuptools-git-${version}";
version = "1.1";
src = pkgs.fetchurl {
url = "mirror://pypi/s/setuptools-git/${name}.tar.gz";
sha256 = "047d7595546635edebef226bc566579d422ccc48a8a91c7d32d8bd174f68f831";
};
propagatedBuildInputs = [ pkgs.git ];
doCheck = false;
meta = {
description = "Setuptools revision control system plugin for Git";
homepage = https://pypi.python.org/pypi/setuptools-git;
license = licenses.bsd3;
};
};
setuptools-git = callPackage ../development/python-modules/setuptools-git { };
watchdog = buildPythonPackage rec {
name = "watchdog-${version}";