python3Packages.authres: migrate to pyproject (#527608)
This commit is contained in:
@@ -3,18 +3,21 @@
|
||||
fetchPypi,
|
||||
buildPythonPackage,
|
||||
python,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "authres";
|
||||
version = "1.2.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1dr5zpqnb54h4f5ax8334l1dcp8j9083d7v4vdi1xqkwmnavklck";
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-k9G5la184h5i22SfNhBIEl3WAiVjoK6KI5CUZfH9Jbc=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
checkPhase = ''
|
||||
# run doctests
|
||||
${python.interpreter} -m authres
|
||||
@@ -28,6 +31,7 @@ buildPythonPackage rec {
|
||||
Python/Python3.
|
||||
'';
|
||||
homepage = "https://launchpad.net/authentication-results-python";
|
||||
changelog = "https://git.launchpad.net/authentication-results-python/tree/CHANGES";
|
||||
license = lib.licenses.bsd3;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user