Merge pull request #330866 from Sigmanificient/ofxtools

python3Packages.ofxtools: drop nose dependency
This commit is contained in:
Emily 2024-07-31 20:26:52 +01:00 committed by GitHub
commit 3c5b0cd257
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,7 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
nose,
pytestCheckHook,
pythonOlder,
}:
@ -21,11 +21,11 @@ buildPythonPackage rec {
hash = "sha256-NsImnD+erhpakQnl1neuHfSKiV6ipNBMPGKMDM0gwWc=";
};
nativeCheckInputs = [ nose ];
nativeCheckInputs = [ pytestCheckHook ];
# override $HOME directory:
# error: [Errno 13] Permission denied: '/homeless-shelter'
checkPhase = ''
HOME=$TMPDIR nosetests tests/*.py
preCheck = ''
export HOME=$(mktemp -d)
'';
meta = with lib; {