pythonPackages.enum: refactor move to python-modules
This commit is contained in:
parent
29ac3c651d
commit
61ed2b6ca1
26
pkgs/development/python-modules/enum/default.nix
Normal file
26
pkgs/development/python-modules/enum/default.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, isPy3k
|
||||||
|
, isPyPy
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "enum";
|
||||||
|
version = "0.4.4";
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "9bdfacf543baf2350df7613eb37f598a802f346985ca0dc1548be6494140fdff";
|
||||||
|
};
|
||||||
|
|
||||||
|
doCheck = !isPyPy;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://pypi.python.org/pypi/enum/;
|
||||||
|
description = "Robust enumerated type support in Python";
|
||||||
|
license = licenses.gpl2;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -2346,26 +2346,7 @@ in {
|
|||||||
|
|
||||||
elpy = callPackage ../development/python-modules/elpy { };
|
elpy = callPackage ../development/python-modules/elpy { };
|
||||||
|
|
||||||
enum = buildPythonPackage rec {
|
enum = callPackage ../development/python-modules/enum { };
|
||||||
name = "enum-0.4.4";
|
|
||||||
disabled = isPy3k;
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/e/enum/${name}.tar.gz";
|
|
||||||
sha256 = "9bdfacf543baf2350df7613eb37f598a802f346985ca0dc1548be6494140fdff";
|
|
||||||
};
|
|
||||||
|
|
||||||
doCheck = !isPyPy;
|
|
||||||
|
|
||||||
buildInputs = with self; [ ];
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = https://pypi.python.org/pypi/enum/;
|
|
||||||
description = "Robust enumerated type support in Python";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
enum-compat = callPackage ../development/python-modules/enum-compat { };
|
enum-compat = callPackage ../development/python-modules/enum-compat { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user