python.pkgs.fido2: run tests

This commit is contained in:
Robert Schütz 2019-01-10 18:03:55 +01:00
parent 3f3fe76fec
commit 7ca9db080b

View File

@ -1,4 +1,7 @@
{ lib, buildPythonPackage, fetchPypi, six, cryptography }:
{ lib, buildPythonPackage, fetchPypi
, six, cryptography
, mock, pyfakefs
}:
buildPythonPackage rec {
pname = "fido2";
@ -9,12 +12,10 @@ buildPythonPackage rec {
sha256 = "1pl8d2pr6jzqj4y9qiaddhjgnl92kikjxy0bgzm2jshkzzic8mp3";
};
# The pypi package does not include tests
# Check https://github.com/Yubico/python-fido2/pull/8
doCheck = false;
propagatedBuildInputs = [ six cryptography ];
checkInputs = [ mock pyfakefs ];
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;