python312Packages.wadllib: refactor

This commit is contained in:
natsukium 2024-11-02 23:54:53 +09:00
parent 4c3c3358df
commit fb643493e8
No known key found for this signature in database
GPG Key ID: 9EA45A31DB994C53

View File

@ -2,7 +2,6 @@
lib,
buildPythonPackage,
fetchPypi,
isPy3k,
setuptools,
lazr-uri,
}:
@ -10,24 +9,28 @@
buildPythonPackage rec {
pname = "wadllib";
version = "2.0.0";
format = "setuptools";
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-HtuvI+T6NP6nDJs4C6oqE5sQhq5InrzMxLO2X8lzdCc=";
hash = "sha256-HtuvI+T6NP6nDJs4C6oqE5sQhq5InrzMxLO2X8lzdCc=";
};
propagatedBuildInputs = [
setuptools
build-system = [ setuptools ];
dependencies = [
lazr-uri
];
doCheck = isPy3k;
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 = [ ];
};
}