python3Packages.yubico: migrate to pyproject

This commit is contained in:
Harinn
2026-06-13 03:25:15 +07:00
parent b92da2f265
commit 2f70d13a74
@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchPypi,
setuptools,
pytestCheckHook,
pyusb,
}:
@@ -9,14 +10,16 @@
buildPythonPackage rec {
pname = "python-yubico";
version = "1.3.3";
format = "setuptools";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-2EZkJ6pZIqxdS36cZbaTEIQnz1N9ZT1oyyEsBxPo5vU=";
};
propagatedBuildInputs = [ pyusb ];
build-system = [ setuptools ];
dependencies = [ pyusb ];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "yubico" ];