ledger-autosync: 1.0.2 -> 1.0.2-unstable-2021-04-01

This commit is contained in:
Damien Cassou 2021-05-02 10:42:55 +02:00 committed by Jonathan Ringer
parent 6d6c8d7b8e
commit abf9453516
2 changed files with 25 additions and 4 deletions

View file

@ -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

View file

@ -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={