Skip to content

Commit

Permalink
python3Packages.ofxtools: drop nose dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Sigmanificient committed Jul 31, 2024
1 parent 955f06b commit f261d4c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkgs/development/python-modules/ofxtools/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
nose,
pytestCheckHook,
pythonOlder,
}:

Expand All @@ -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; {
Expand Down

0 comments on commit f261d4c

Please sign in to comment.