blob: 16c273f75a784f6bbe0969527ccdaf2c4add9de0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{
lib,
python3Packages,
fetchFromGitHub,
ledger,
hledger,
}:
python3Packages.buildPythonApplication rec {
pname = "ledger-autosync";
version = "1.2.0";
pyproject = true;
# no tests included in PyPI tarball
src = fetchFromGitHub {
owner = "egh";
repo = "ledger-autosync";
rev = "v${version}";
hash = "sha256-bbFjDdxYr85OPjdvY3JYtCe/8Epwi+8JN60PKVKbqe0=";
};
build-system = with python3Packages; [ poetry-core ];
dependencies = with python3Packages; [
ofxclient
ofxparse
];
nativeCheckInputs = [
hledger
ledger
python3Packages.ledger
python3Packages.pytestCheckHook
];
meta = with lib; {
homepage = "https://github.com/egh/ledger-autosync";
changelog = "https://github.com/egh/ledger-autosync/releases/tag/v${version}";
description = "OFX/CSV autosync for ledger and hledger";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ eamsden ];
};
}
|