mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-01 08:25:55 +03:00
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_ordereddict = buildPythonPackage rec {
|
||||
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;
|
||||
};
|
||||
};
|
||||
ruamel_ordereddict = callPackage ../development/python-modules/ruamel_ordereddict { };
|
||||
|
||||
typing = callPackage ../development/python-modules/typing { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user