pythonPackages.ordereddict: refactor move to python-modules
This commit is contained in:
parent
1cb8ab267d
commit
3df4461e21
21
pkgs/development/python-modules/ordereddict/default.nix
Normal file
21
pkgs/development/python-modules/ordereddict/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -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 { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user