nixpkgs/pkgs/development/python-modules/fido2/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
744 B
Nix
Raw Normal View History

2019-12-02 04:48:26 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, six
, cryptography
, mock
, pyfakefs
, unittestCheckHook
2019-01-10 17:03:55 +00:00
}:
2018-06-28 14:08:48 +00:00
buildPythonPackage rec {
pname = "fido2";
version = "1.1.0";
2018-06-28 14:08:48 +00:00
src = fetchPypi {
inherit pname version;
hash = "sha256-K0tOYgwhAEQsIGeODpUa1tHvs7pcqOu3IMTI1UMpNnQ=";
2018-06-28 14:08:48 +00:00
};
propagatedBuildInputs = [ six cryptography ];
nativeCheckInputs = [ unittestCheckHook mock pyfakefs ];
2019-01-10 17:03:55 +00:00
unittestFlagsArray = [ "-v" ];
2021-04-07 11:21:57 +00:00
2021-02-16 22:09:51 +00:00
pythonImportsCheck = [ "fido2" ];
2018-06-28 14:08:48 +00:00
meta = with lib; {
description = "Provides library functionality for FIDO 2.0, including communication with a device over USB.";
2019-12-02 04:48:26 +00:00
homepage = "https://github.com/Yubico/python-fido2";
license = licenses.bsd2;
maintainers = with maintainers; [ prusnak ];
2018-06-28 14:08:48 +00:00
};
}