python310Packages.decorator: Enable tests
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -13,6 +14,18 @@ buildPythonPackage rec {
|
||||
hash = "sha256-Y3mWIRA2tjhe+RQ15PriKYlHL51XH6uoknuoJTrLwzA=";
|
||||
};
|
||||
|
||||
pythonImportsCheck = [
|
||||
"decorator"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"src/tests/test.py"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/micheles/decorator";
|
||||
description = "Better living through Python with decorators";
|
||||
|
||||
Reference in New Issue
Block a user