python3Packages.pyu2f: Disable tests failing with pyfakefs 5.0
This commit is contained in:
parent
7bd0431487
commit
c3bf8d1f5b
@ -10,17 +10,29 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "pyu2f";
|
||||
version = "0.1.5a";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "0mx7bn1p3n0fxyxa82wg3c719hby7vqkxv57fhf7zvhlg2zfnr0v";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
propagatedBuildInputs = [
|
||||
six
|
||||
];
|
||||
|
||||
checkInputs = [ mock pyfakefs pytestCheckHook ];
|
||||
checkInputs = [
|
||||
mock
|
||||
pyfakefs
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# API breakage with pyfakefs>=5.0
|
||||
"pyu2f/tests/hid/linux_test.py"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "U2F host library for interacting with a U2F device over USB";
|
||||
|
Loading…
Reference in New Issue
Block a user