Skip to content

Commit

Permalink
Merge pull request #327239 from pyrox0/denose/ofxhome
Browse files Browse the repository at this point in the history
python312Packages.ofxhome: remove nose and fix tests
  • Loading branch information
emilazy authored Jul 28, 2024
2 parents 56e1690 + 4f77657 commit 99e195c
Showing 1 changed file with 20 additions and 11 deletions.
31 changes: 20 additions & 11 deletions pkgs/development/python-modules/ofxhome/default.nix
Original file line number Diff line number Diff line change
@@ -1,28 +1,37 @@
{
lib,
buildPythonPackage,
fetchPypi,
nose,
fetchFromGitHub,
pytestCheckHook,
setuptools,
}:

buildPythonPackage rec {
version = "0.3.3";
format = "setuptools";
pname = "ofxhome";
pyproject = true;

src = fetchPypi {
inherit pname version;
sha256 = "1rpyfqr2q9pnin47rjd4qapl8ngk1m9jx36iqckhdhr8s8gla445";
src = fetchFromGitHub {
owner = "captin411";
repo = "ofxhome";
rev = "v${version}";
hash = "sha256-i16bE9iuafhAKco2jYfg5T5QCWFHdnYVztf1z2XbO9g=";
};

buildInputs = [ nose ];
build-system = [ setuptools ];

# ImportError: No module named tests
doCheck = false;
nativeCheckInputs = [ pytestCheckHook ];

meta = with lib; {
# These are helper functions that should not be called as tests
disabledTests = [
"testfile_name"
"testfile"
];

meta = {
homepage = "https://github.com/captin411/ofxhome";
description = "ofxhome.com financial institution lookup REST client";
license = licenses.mit;
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ pyrox0 ];
};
}

0 comments on commit 99e195c

Please sign in to comment.