pythonPackages.enum34: 1.0.4 -> 1.1.6

This commit is contained in:
Frederik Rietdijk 2017-02-13 11:43:13 +01:00
parent 58175843b1
commit 733dc656b1

View file

@ -10993,15 +10993,20 @@ in {
};
enum34 = if pythonAtLeast "3.4" then null else buildPythonPackage rec {
name = "enum34-${version}";
version = "1.0.4";
pname = "enum34";
version = "1.1.6";
name = "${pname}-${version}";
src = pkgs.fetchurl {
url = "mirror://pypi/e/enum34/${name}.tar.gz";
sha256 = "0iz4jjdvdgvfllnpmd92qxj5fnfxqpgmjpvpik0jjim3lqk9zhfk";
src = fetchPypi {
inherit pname version;
sha256 = "8ad8c4783bf61ded74527bffb48ed9b54166685e4230386a9ed9b1279e2df5b1";
};
buildInputs = optional isPy26 self.ordereddict;
checkPhase = ''
${python.interpreter} -m unittest discover
'';
meta = {
homepage = https://pypi.python.org/pypi/enum34;