diff options
author | Damien Cassou <damien@cassou.me> | 2021-05-02 10:42:55 +0200 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2021-05-08 00:49:29 -0700 |
commit | abf9453516ea9ca8e6a8dabe29d5b9332af930d8 (patch) | |
tree | d4c7a9cb524fac89584f944cbb932c5cd51a507f /pkgs/applications/office | |
parent | 6d6c8d7b8ebf0946841033bea51ae0c56a9e9bce (diff) | |
download | nixpkgs-abf9453516ea9ca8e6a8dabe29d5b9332af930d8.tar nixpkgs-abf9453516ea9ca8e6a8dabe29d5b9332af930d8.tar.gz nixpkgs-abf9453516ea9ca8e6a8dabe29d5b9332af930d8.tar.bz2 nixpkgs-abf9453516ea9ca8e6a8dabe29d5b9332af930d8.tar.lz nixpkgs-abf9453516ea9ca8e6a8dabe29d5b9332af930d8.tar.xz nixpkgs-abf9453516ea9ca8e6a8dabe29d5b9332af930d8.tar.zst nixpkgs-abf9453516ea9ca8e6a8dabe29d5b9332af930d8.zip |
ledger-autosync: 1.0.2 -> 1.0.2-unstable-2021-04-01
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r-- | pkgs/applications/office/ledger-autosync/default.nix | 16 | ||||
-rw-r--r-- | pkgs/applications/office/ledger-autosync/fix-ofxparse-dependency.patch | 13 |
2 files changed, 25 insertions, 4 deletions
diff --git a/pkgs/applications/office/ledger-autosync/default.nix b/pkgs/applications/office/ledger-autosync/default.nix index 90e5995669e..74fcf1af8f9 100644 --- a/pkgs/applications/office/ledger-autosync/default.nix +++ b/pkgs/applications/office/ledger-autosync/default.nix @@ -2,16 +2,24 @@ python3Packages.buildPythonApplication rec { pname = "ledger-autosync"; - version = "1.0.2"; + version = "unstable-2021-04-01"; -# no tests included in PyPI tarball + # no tests included in PyPI tarball src = fetchFromGitHub { owner = "egh"; repo = "ledger-autosync"; - rev = "v${version}"; - sha256 = "0sh32jcf8iznnbg1kqlrswbzfmn4h3gkw32q20xwxzz4935pz1qk"; + rev = "0b674c57c833f75b1a36d8caf78e1567c8e2180c"; + sha256 = "0q404gr85caib5hg83cnmgx4684l72w9slxyxrwsiwhlf7gm443q"; }; + patches = [ + # ledger-autosync specifies an URL for its ofxparse + # dependency. This patch removes the URL to only use the + # `ofxparse` name. This works because nixpkgs' version of ofxparse + # is more recent than the latest release. + ./fix-ofxparse-dependency.patch + ]; + propagatedBuildInputs = with python3Packages; [ asn1crypto beautifulsoup4 diff --git a/pkgs/applications/office/ledger-autosync/fix-ofxparse-dependency.patch b/pkgs/applications/office/ledger-autosync/fix-ofxparse-dependency.patch new file mode 100644 index 00000000000..cb12ba9f335 --- /dev/null +++ b/pkgs/applications/office/ledger-autosync/fix-ofxparse-dependency.patch @@ -0,0 +1,13 @@ +diff --git a/setup.py b/setup.py +index eda6db5..ed6b90b 100644 +--- a/setup.py ++++ b/setup.py +@@ -38,7 +38,7 @@ setup( + install_requires=[ + 'setuptools>=26', + 'ofxclient', +- "ofxparse @ https://github.com/jseutter/ofxparse/tarball/3236cfd96434feb6bc79a8b66f3400f18e2ad3c4" ++ 'ofxparse' + ], + + extras_require={ \ No newline at end of file |