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