3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/fido2/default.nix

24 lines
644 B
Nix
Raw Normal View History

2018-06-28 15:08:48 +01:00
{ lib, buildPythonPackage, fetchPypi, six, cryptography }:
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
};
# 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;
};
}