Unverified Commit 3c5b0cd2 authored by Emily's avatar Emily Committed by GitHub
Browse files

Merge pull request #330866 from Sigmanificient/ofxtools

python3Packages.ofxtools: drop nose dependency
parents 3ce9e437 f261d4c4
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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; {