3
0
Fork 0
forked from mirrors/nixpkgs

python-fido2: init at 0.3.0

This commit is contained in:
Michishige Kaito 2018-06-28 15:08:48 +01:00
parent 5ceca49714
commit 97e3024376
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{ lib, buildPythonPackage, fetchPypi, six, cryptography }:
buildPythonPackage rec {
pname = "fido2";
version = "0.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "0ddbhg4nsabi9w66l8vkr0i5r80jqihlic5yrdl3v1aqahvxph1j";
};
# The pypi package does not include tests
# Check https://github.com/Yubico/python-fido2/pull/8
doCheck = false;
propagatedBuildInputs = [ six cryptography ];
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;
};
}

View file

@ -266,6 +266,8 @@ in {
diff-match-patch = callPackage ../development/python-modules/diff-match-patch { };
fido2 = callPackage ../development/python-modules/fido2 { };
globus-sdk = callPackage ../development/python-modules/globus-sdk { };
goocalendar = callPackage ../development/python-modules/goocalendar { };