pythonPackages.enum34: 1.0.4 -> 1.1.6
This commit is contained in:
parent
58175843b1
commit
733dc656b1
1 changed files with 10 additions and 5 deletions
|
@ -10993,15 +10993,20 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
enum34 = if pythonAtLeast "3.4" then null else buildPythonPackage rec {
|
enum34 = if pythonAtLeast "3.4" then null else buildPythonPackage rec {
|
||||||
name = "enum34-${version}";
|
pname = "enum34";
|
||||||
version = "1.0.4";
|
version = "1.1.6";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
src = fetchPypi {
|
||||||
url = "mirror://pypi/e/enum34/${name}.tar.gz";
|
inherit pname version;
|
||||||
sha256 = "0iz4jjdvdgvfllnpmd92qxj5fnfxqpgmjpvpik0jjim3lqk9zhfk";
|
sha256 = "8ad8c4783bf61ded74527bffb48ed9b54166685e4230386a9ed9b1279e2df5b1";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = optional isPy26 self.ordereddict;
|
buildInputs = optional isPy26 self.ordereddict;
|
||||||
|
checkPhase = ''
|
||||||
|
${python.interpreter} -m unittest discover
|
||||||
|
'';
|
||||||
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = https://pypi.python.org/pypi/enum34;
|
homepage = https://pypi.python.org/pypi/enum34;
|
||||||
|
|
Loading…
Reference in a new issue