python-yubico: init at 1.3.2

This commit is contained in:
s1341
2023-03-16 08:34:26 +02:00
parent d22c20e416
commit 8968bb87e2
2 changed files with 29 additions and 0 deletions
@@ -0,0 +1,27 @@
{ stdenv, lib, buildPythonPackage, fetchPypi, pytestCheckHook, pyusb }:
buildPythonPackage rec {
pname = "python-yubico";
version = "1.3.2";
src = fetchPypi {
inherit pname version;
sha256 = "1gd3an1cdcq328nr1c9ijrsf32v0crv6dgq7knld8m9cadj517c7";
};
propagatedBuildInputs = [ pyusb ];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "yubico" ];
disabledTests = [
"usb" # requires a physical yubikey to test
];
meta = with lib; {
description = "Python code to talk to YubiKeys";
homepage = "https://github.com/Yubico/python-yubico";
license = licenses.bsd2;
maintainers = with maintainers; [ s1341 ];
};
}
+2
View File
@@ -12788,6 +12788,8 @@ self: super: with self; {
ytmusicapi = callPackage ../development/python-modules/ytmusicapi { };
yubico = callPackage ../development/python-modules/yubico { };
yubico-client = callPackage ../development/python-modules/yubico-client { };
z3c-checkversions = callPackage ../development/python-modules/z3c-checkversions { };