depot/third_party/nixpkgs/pkgs/development/python-modules/yubico-client/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

29 lines
686 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
requests,
}:
buildPythonPackage rec {
pname = "yubico-client";
version = "1.13.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "e3b86cd2a123105edfacad40551c7b26e9c1193d81ffe168ee704ebfd3d11162";
};
propagatedBuildInputs = [ requests ];
# pypi package missing test_utils and github releases is behind
doCheck = false;
meta = with lib; {
description = "Verifying Yubico OTPs based on the validation protocol version 2.0";
homepage = "https://github.com/Kami/python-yubico-client/";
maintainers = with maintainers; [ peterromfeldhk ];
license = licenses.bsd3;
};
}