python3Packages.yubico-client: migrate to pyproject (#531645)
This commit is contained in:
@@ -2,27 +2,34 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
requests,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "yubico-client";
|
||||
version = "1.13.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "e3b86cd2a123105edfacad40551c7b26e9c1193d81ffe168ee704ebfd3d11162";
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-47hs0qEjEF7frK1AVRx7JunBGT2B/+Fo7nBOv9PREWI=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ requests ];
|
||||
|
||||
# pypi package missing test_utils and github releases is behind
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "yubico_client" ];
|
||||
|
||||
meta = {
|
||||
description = "Verifying Yubico OTPs based on the validation protocol version 2.0";
|
||||
homepage = "https://github.com/Kami/python-yubico-client/";
|
||||
license = lib.licenses.bsd3;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user