pythonPackages.distutils_extra: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 13:25:42 -04:00 committed by Frederik Rietdijk
parent e1a948388a
commit 83f9f1ef38
2 changed files with 22 additions and 15 deletions

View File

@ -0,0 +1,21 @@
{ stdenv
, buildPythonPackage
, fetchurl
}:
buildPythonPackage rec {
pname = "distutils-extra";
version = "2.39";
src = fetchurl {
url = "http://launchpad.net/python-distutils-extra/trunk/${version}/+download/python-${pname}-${version}.tar.gz";
sha256 = "1bv3h2p9ffbzyddhi5sccsfwrm3i6yxzn0m06fdxkj2zsvs28gvj";
};
meta = with stdenv.lib; {
homepage = https://launchpad.net/python-distutils-extra;
description = "Enhancements to Python's distutils";
license = licenses.gpl2;
};
}

View File

@ -2213,21 +2213,7 @@ in {
descartes = callPackage ../development/python-modules/descartes { };
distutils_extra = buildPythonPackage rec {
name = "distutils-extra-${version}";
version = "2.39";
src = pkgs.fetchurl {
url = "http://launchpad.net/python-distutils-extra/trunk/${version}/+download/python-${name}.tar.gz";
sha256 = "1bv3h2p9ffbzyddhi5sccsfwrm3i6yxzn0m06fdxkj2zsvs28gvj";
};
meta = {
homepage = https://launchpad.net/python-distutils-extra;
description = "Enhancements to Python's distutils";
license = licenses.gpl2;
};
};
distutils_extra = callPackage ../development/python-modules/distutils_extra { };
pyxdg = buildPythonPackage rec {
name = "pyxdg-0.25";