2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
2024-07-31 10:19:44 +00:00
|
|
|
fetchFromGitHub,
|
|
|
|
pytestCheckHook,
|
|
|
|
setuptools,
|
2024-06-05 15:53:02 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
version = "0.3.3";
|
|
|
|
pname = "ofxhome";
|
2024-07-31 10:19:44 +00:00
|
|
|
pyproject = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-07-31 10:19:44 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "captin411";
|
|
|
|
repo = "ofxhome";
|
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-i16bE9iuafhAKco2jYfg5T5QCWFHdnYVztf1z2XbO9g=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-07-31 10:19:44 +00:00
|
|
|
build-system = [ setuptools ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-07-31 10:19:44 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-07-31 10:19:44 +00:00
|
|
|
# These are helper functions that should not be called as tests
|
|
|
|
disabledTests = [
|
|
|
|
"testfile_name"
|
|
|
|
"testfile"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/captin411/ofxhome";
|
|
|
|
description = "ofxhome.com financial institution lookup REST client";
|
2024-07-31 10:19:44 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ pyrox0 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|