From 195f0709532ee75fae5ee525bd9e56dacfb13f19 Mon Sep 17 00:00:00 2001 From: Emily Date: Thu, 22 Aug 2024 18:46:30 +0100 Subject: [PATCH] ledger-autosync: 1.0.3 -> 1.2.0 --- pkgs/by-name/le/ledger-autosync/package.nix | 24 ++------------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/pkgs/by-name/le/ledger-autosync/package.nix b/pkgs/by-name/le/ledger-autosync/package.nix index d5aed4793daf..1f4e6a3413f0 100644 --- a/pkgs/by-name/le/ledger-autosync/package.nix +++ b/pkgs/by-name/le/ledger-autosync/package.nix @@ -9,7 +9,7 @@ python3Packages.buildPythonApplication rec { pname = "ledger-autosync"; - version = "1.0.3"; + version = "1.2.0"; pyproject = true; # no tests included in PyPI tarball @@ -17,22 +17,9 @@ python3Packages.buildPythonApplication rec { owner = "egh"; repo = "ledger-autosync"; rev = "v${version}"; - hash = "sha256-IuOlVJEjNqRPfV4q/Zy3UQe5iMwDlnSV356FrTsmflg="; + hash = "sha256-bbFjDdxYr85OPjdvY3JYtCe/8Epwi+8JN60PKVKbqe0="; }; - patches = [ - (fetchpatch2 { - name = "drop-distutils.patch"; - url = "https://github.com/egh/ledger-autosync/commit/b7a2a185b9c3b17764322dcc80153410d12e6a5f.patch"; - hash = "sha256-qKuTpsNFuS00yRAH4VGpMA249ml0BGZsGVb75WrBWEo="; - }) - (fetchpatch2 { - name = "drop-imp.patch"; - url = "https://github.com/egh/ledger-autosync/commit/453d92ad279e6c90fadf835d1c39189a1179eb17.patch"; - hash = "sha256-mncMvdWldAnVDy1+bJ+oyDOrUb14v9LrBRz/CYrtYbc="; - }) - ]; - build-system = with python3Packages; [ poetry-core ]; dependencies = with python3Packages; [ @@ -47,13 +34,6 @@ python3Packages.buildPythonApplication rec { python3Packages.pytestCheckHook ]; - # Disable some non-passing tests: - # https://github.com/egh/ledger-autosync/issues/127 - disabledTests = [ - "test_payee_match" - "test_args_only" - ]; - meta = with lib; { homepage = "https://github.com/egh/ledger-autosync"; changelog = "https://github.com/egh/ledger-autosync/releases/tag/v${version}";