Files
nixpkgs/pkgs/development/python-modules/ofxclient/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

44 lines
775 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
ofxhome,
ofxparse,
beautifulsoup4,
lxml,
keyring,
}:
buildPythonPackage rec {
version = "2.0.3";
format = "setuptools";
pname = "ofxclient";
src = fetchPypi {
inherit pname version;
sha256 = "0jdhqsbl34yn3n0x6mwsnl58c25v5lp6vr910c2hk7l74l5y7538";
};
patchPhase = ''
substituteInPlace setup.py --replace '"argparse",' ""
'';
# ImportError: No module named tests
doCheck = false;
propagatedBuildInputs = [
ofxhome
ofxparse
beautifulsoup4
lxml
keyring
];
meta = {
homepage = "https://github.com/captin411/ofxclient";
description = "OFX client for dowloading transactions from banks";
mainProgram = "ofxclient";
license = lib.licenses.mit;
};
}