pythonPackages.ruamel_ordereddict: refactor move to python-modules
This commit is contained in:
parent
e0d62c2249
commit
cbd33011de
@ -0,0 +1,24 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, isPy3k
|
||||||
|
, isPyPy
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "ruamel.ordereddict";
|
||||||
|
version = "0.4.9";
|
||||||
|
disabled = isPy3k || isPyPy;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1xmkl8v9l9inm2pyxgc1fm5005yxm7fkd5gv74q7lj1iy5qc8n3h";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A version of dict that keeps keys in insertion resp. sorted order";
|
||||||
|
homepage = https://bitbucket.org/ruamel/ordereddict;
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -3656,22 +3656,7 @@ in {
|
|||||||
|
|
||||||
ruamel_base = callPackage ../development/python-modules/ruamel_base { };
|
ruamel_base = callPackage ../development/python-modules/ruamel_base { };
|
||||||
|
|
||||||
ruamel_ordereddict = buildPythonPackage rec {
|
ruamel_ordereddict = callPackage ../development/python-modules/ruamel_ordereddict { };
|
||||||
name = "ruamel.ordereddict-${version}";
|
|
||||||
version = "0.4.9";
|
|
||||||
disabled = isPy3k || isPyPy;
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/r/ruamel.ordereddict/${name}.tar.gz";
|
|
||||||
sha256 = "1xmkl8v9l9inm2pyxgc1fm5005yxm7fkd5gv74q7lj1iy5qc8n3h";
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "A version of dict that keeps keys in insertion resp. sorted order";
|
|
||||||
homepage = https://bitbucket.org/ruamel/ordereddict;
|
|
||||||
license = licenses.mit;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
typing = callPackage ../development/python-modules/typing { };
|
typing = callPackage ../development/python-modules/typing { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user