1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 02:24:27 +00:00
nixpkgs/pkgs/development/python-modules/fido2/default.nix

25 lines
578 B
Nix
Raw Normal View History

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