python2.pkgs: move expressions into python2-modules/ folder
Another step in further separating python2 from python3.
This commit is contained in:
committed by
Frederik Rietdijk
parent
2027fb600d
commit
ae18d68b6b
@@ -0,0 +1,26 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, isPyPy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "enum";
|
||||
version = "0.4.7";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "001iq0yqs9f5bslvl793bhkcs71k5km9kv8yrj5h0lfsgrcg6z4c";
|
||||
};
|
||||
|
||||
doCheck = !isPyPy;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://pypi.python.org/pypi/enum/";
|
||||
description = "Robust enumerated type support in Python";
|
||||
license = licenses.gpl2;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user