python310Packages.libversion: use pytestCheckHook
This commit is contained in:
committed by
Jonathan Ringer
parent
4e3a656282
commit
e59b2e676b
@@ -3,6 +3,7 @@
|
||||
, fetchFromGitHub
|
||||
, libversion
|
||||
, pkg-config
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
@@ -33,6 +34,15 @@ buildPythonPackage rec {
|
||||
libversion
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
# import from $out
|
||||
rm -r libversion
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"libversion"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user