@@ -1,4 +1,7 @@
1−{ lib, buildPythonPackage, fetchPypi, six, cryptography }:
1+{ lib, buildPythonPackage, fetchPypi
2+, six, cryptography
3+, mock, pyfakefs
4+}:
25
36buildPythonPackage rec {
47 pname = "fido2";
@@ -9,12 +12,10 @@ buildPythonPackage rec {
912 sha256 = "1pl8d2pr6jzqj4y9qiaddhjgnl92kikjxy0bgzm2jshkzzic8mp3";
1013 };
1114
12− # The pypi package does not include tests
13− # Check https://github.com/Yubico/python-fido2/pull/8
14− doCheck = false;
15−
1615 propagatedBuildInputs = [ six cryptography ];
1716
17+ checkInputs = [ mock pyfakefs ];
18+
1819 meta = with lib; {
1920 description = "Provides library functionality for FIDO 2.0, including communication with a device over USB.";
2021 homepage = https://github.com/Yubico/python-fido2;