mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 21:09:00 +02:00
ledger-autosync: 1.0.2 -> 1.0.2-unstable-2021-04-01
This commit is contained in:
parent
6d6c8d7b8e
commit
abf9453516
|
@ -2,16 +2,24 @@
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "ledger-autosync";
|
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 {
|
src = fetchFromGitHub {
|
||||||
owner = "egh";
|
owner = "egh";
|
||||||
repo = "ledger-autosync";
|
repo = "ledger-autosync";
|
||||||
rev = "v${version}";
|
rev = "0b674c57c833f75b1a36d8caf78e1567c8e2180c";
|
||||||
sha256 = "0sh32jcf8iznnbg1kqlrswbzfmn4h3gkw32q20xwxzz4935pz1qk";
|
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; [
|
propagatedBuildInputs = with python3Packages; [
|
||||||
asn1crypto
|
asn1crypto
|
||||||
beautifulsoup4
|
beautifulsoup4
|
||||||
|
|
|
@ -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={
|
Loading…
Reference in a new issue