pythonPackages.ordereddict: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-17 14:51:14 -04:00 committed by Frederik Rietdijk
parent 1cb8ab267d
commit 3df4461e21
2 changed files with 22 additions and 15 deletions

View File

@ -0,0 +1,21 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "ordereddict";
version = "1.1";
src = fetchPypi {
inherit pname version;
sha256 = "07qvy11nvgxpzarrni3wrww3vpc9yafgi2bch4j2vvvc42nb8d8w";
};
meta = with stdenv.lib; {
description = "A drop-in substitute for Py2.7's new collections.OrderedDict that works in Python 2.4-2.6";
license = licenses.bsd3;
maintainers = with maintainers; [ garbas ];
};
}

View File

@ -2996,21 +2996,7 @@ in {
opentimestamps = callPackage ../development/python-modules/opentimestamps { }; opentimestamps = callPackage ../development/python-modules/opentimestamps { };
ordereddict = buildPythonPackage rec { ordereddict = callPackage ../development/python-modules/ordereddict { };
name = "ordereddict-${version}";
version = "1.1";
src = pkgs.fetchurl {
url = "mirror://pypi/o/ordereddict/${name}.tar.gz";
sha256 = "07qvy11nvgxpzarrni3wrww3vpc9yafgi2bch4j2vvvc42nb8d8w";
};
meta = {
description = "A drop-in substitute for Py2.7's new collections.OrderedDict that works in Python 2.4-2.6";
license = licenses.bsd3;
maintainers = with maintainers; [ garbas ];
};
};
orderedset = callPackage ../development/python-modules/orderedset { }; orderedset = callPackage ../development/python-modules/orderedset { };