diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/fido2/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/fido2/default.nix | 39 |
1 files changed, 28 insertions, 11 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/fido2/default.nix b/nixpkgs/pkgs/development/python-modules/fido2/default.nix index 459f0799477d..7cd11eefcbcc 100644 --- a/nixpkgs/pkgs/development/python-modules/fido2/default.nix +++ b/nixpkgs/pkgs/development/python-modules/fido2/default.nix @@ -1,37 +1,54 @@ { lib , buildPythonPackage -, fetchPypi -, poetry-core -, six , cryptography +, fetchPypi , mock +, poetry-core , pyfakefs +, pythonOlder +, six , unittestCheckHook }: buildPythonPackage rec { pname = "fido2"; - version = "1.1.1"; + version = "1.1.2"; format = "pyproject"; + disabled = pythonOlder "3.7"; + src = fetchPypi { inherit pname version; - hash = "sha256-XcSVyoxZwcM3ODtLjDFNRrktXG/GUOcZhMbX+VQHn8M="; + hash = "sha256-YRDZExBvdhmSAbMtJisoV1YsxGuh0LnFH7zjDck2xXM="; }; - nativeBuildInputs = [ poetry-core ]; + nativeBuildInputs = [ + poetry-core + ]; - propagatedBuildInputs = [ six cryptography ]; + propagatedBuildInputs = [ + cryptography + six + ]; - nativeCheckInputs = [ unittestCheckHook mock pyfakefs ]; + nativeCheckInputs = [ + unittestCheckHook + mock + pyfakefs + ]; - unittestFlagsArray = [ "-v" ]; + unittestFlagsArray = [ + "-v" + ]; - pythonImportsCheck = [ "fido2" ]; + pythonImportsCheck = [ + "fido2" + ]; meta = with lib; { - description = "Provides library functionality for FIDO 2.0, including communication with a device over USB."; + description = "Provides library functionality for FIDO 2.0, including communication with a device over USB"; homepage = "https://github.com/Yubico/python-fido2"; + changelog = "https://github.com/Yubico/python-fido2/releases/tag/${version}"; license = licenses.bsd2; maintainers = with maintainers; [ prusnak ]; }; |