python.pkgs.fido2: run tests
This commit is contained in:
parent
3f3fe76fec
commit
7ca9db080b
@ -1,4 +1,7 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi, six, cryptography }:
|
{ lib, buildPythonPackage, fetchPypi
|
||||||
|
, six, cryptography
|
||||||
|
, mock, pyfakefs
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "fido2";
|
pname = "fido2";
|
||||||
@ -9,12 +12,10 @@ buildPythonPackage rec {
|
|||||||
sha256 = "1pl8d2pr6jzqj4y9qiaddhjgnl92kikjxy0bgzm2jshkzzic8mp3";
|
sha256 = "1pl8d2pr6jzqj4y9qiaddhjgnl92kikjxy0bgzm2jshkzzic8mp3";
|
||||||
};
|
};
|
||||||
|
|
||||||
# The pypi package does not include tests
|
|
||||||
# Check https://github.com/Yubico/python-fido2/pull/8
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ six cryptography ];
|
propagatedBuildInputs = [ six cryptography ];
|
||||||
|
|
||||||
|
checkInputs = [ mock pyfakefs ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Provides library functionality for FIDO 2.0, including communication with a device over USB.";
|
description = "Provides library functionality for FIDO 2.0, including communication with a device over USB.";
|
||||||
homepage = https://github.com/Yubico/python-fido2;
|
homepage = https://github.com/Yubico/python-fido2;
|
||||||
|
Loading…
Reference in New Issue
Block a user