pythonPackages.inflection: enable and add tests

This commit is contained in:
Ilya Kolpakov 2017-11-27 20:31:14 +01:00
parent a60513428d
commit 741d9c8c2d
2 changed files with 24 additions and 19 deletions

View File

@ -0,0 +1,21 @@
{ lib, fetchurl, buildPythonPackage, pytest } :
buildPythonPackage rec {
version = "0.3.1";
name = "inflection-${version}";
src = fetchurl {
url= "mirror://pypi/i/inflection/${name}.tar.gz";
sha256 = "1jhnxgnw8y3mbzjssixh6qkc7a3afc4fygajhqrqalnilyvpzshq";
};
propagatedBuildInputs = [ pytest ];
meta = {
homepage = https://github.com/jpvanhal/inflection;
description = "A port of Ruby on Rails inflector to Python";
maintainers = with lib.maintainers; [ NikolaMandic ilya-kolpakov ];
license = lib.licenses.mit;
};
}

View File

@ -9709,25 +9709,6 @@ in {
}; };
}; };
inflection = buildPythonPackage rec {
version = "0.3.1";
name = "inflection-${version}";
src = pkgs.fetchurl {
url= "mirror://pypi/i/inflection/${name}.tar.gz";
sha256 = "1jhnxgnw8y3mbzjssixh6qkc7a3afc4fygajhqrqalnilyvpzshq";
};
disabled = isPy3k;
meta = {
homepage = https://github.com/jpvanhal/inflection;
description = "A port of Ruby on Rails inflector to Python";
maintainers = with maintainers; [ NikolaMandic ];
};
};
influxdb = buildPythonPackage rec { influxdb = buildPythonPackage rec {
name = "influxdb-4.0.0"; name = "influxdb-4.0.0";
@ -24456,6 +24437,9 @@ EOF
ephem = callPackage ../development/python-modules/ephem { }; ephem = callPackage ../development/python-modules/ephem { };
jsondate = callPackage ../development/python-modules/jsondate { }; jsondate = callPackage ../development/python-modules/jsondate { };
inflection = callPackage ../development/python-modules/inflection { };
}); });
in fix' (extends overrides packages) in fix' (extends overrides packages)