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

30 lines
632 B
Nix
Raw Normal View History

2019-12-02 05:48:26 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, six
, cryptography
, mock
, pyfakefs
2019-01-10 18:03:55 +01:00
}:
2018-06-28 16:08:48 +02:00
buildPythonPackage rec {
pname = "fido2";
2019-12-02 05:48:26 +01:00
version = "0.8.1";
2018-06-28 16:08:48 +02:00
src = fetchPypi {
inherit pname version;
2019-12-02 05:48:26 +01:00
sha256 = "1hzprnd407g2xh9kyv8j8pq949hwr1snmg3fp65pqfbghzv6i424";
2018-06-28 16:08:48 +02:00
};
propagatedBuildInputs = [ six cryptography ];
2019-01-10 18:03:55 +01:00
checkInputs = [ mock pyfakefs ];
2018-06-28 16:08:48 +02:00
meta = with lib; {
description = "Provides library functionality for FIDO 2.0, including communication with a device over USB.";
2019-12-02 05:48:26 +01:00
homepage = "https://github.com/Yubico/python-fido2";
license = licenses.bsd2;
maintainers = with maintainers; [ prusnak ];
2018-06-28 16:08:48 +02:00
};
}