diff options
Diffstat (limited to 'pkgs/development/python-modules/wadllib/default.nix')
-rw-r--r-- | pkgs/development/python-modules/wadllib/default.nix | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/pkgs/development/python-modules/wadllib/default.nix b/pkgs/development/python-modules/wadllib/default.nix index 9fc8988de74d..f5bbaddb6c34 100644 --- a/pkgs/development/python-modules/wadllib/default.nix +++ b/pkgs/development/python-modules/wadllib/default.nix @@ -1,29 +1,36 @@ -{ lib -, buildPythonPackage -, fetchPypi -, isPy3k -, setuptools -, lazr-uri +{ + lib, + buildPythonPackage, + fetchPypi, + setuptools, + lazr-uri, }: buildPythonPackage rec { pname = "wadllib"; - version = "1.3.6"; - format = "setuptools"; + version = "2.0.0"; + pyproject = true; src = fetchPypi { inherit pname version; - sha256 = "acd9ad6a2c1007d34ca208e1da6341bbca1804c0e6850f954db04bdd7666c5fc"; + hash = "sha256-HtuvI+T6NP6nDJs4C6oqE5sQhq5InrzMxLO2X8lzdCc="; }; - propagatedBuildInputs = [ setuptools lazr-uri ]; + build-system = [ setuptools ]; - doCheck = isPy3k; + dependencies = [ + lazr-uri + ]; + + pythonImportsCheck = [ "wadllib" ]; + + # pypi tarball has no tests + doCheck = false; meta = with lib; { description = "Navigate HTTP resources using WADL files as guides"; homepage = "https://launchpad.net/wadllib"; - license = licenses.lgpl3; + license = licenses.lgpl3Only; maintainers = [ ]; }; } |