diff --git a/pkgs/applications/office/beancount/beancount-ing-diba.nix b/pkgs/applications/office/beancount/beancount-ing-diba.nix index 84e9053537401..2a4b567177e8b 100644 --- a/pkgs/applications/office/beancount/beancount-ing-diba.nix +++ b/pkgs/applications/office/beancount/beancount-ing-diba.nix @@ -2,30 +2,28 @@ lib, python3, fetchFromGitHub, - fetchpatch, + beangulp, + beancount, }: python3.pkgs.buildPythonApplication rec { pname = "beancount-ing-diba"; - version = "0.6.0"; + version = "1.1.0"; src = fetchFromGitHub { owner = "siddhantgoel"; repo = "beancount-ing-diba"; rev = "v${version}"; - sha256 = "sha256-1cdXqdeTz38n0g13EXJ1/IF/gJJCe1uL/Z5NJz4DL+E="; + sha256 = "sha256-zjwajl+0ix4wnW0bf4MAuO9Lr9F8sBv87TIL5Ghmlxg="; }; - patches = [ - (fetchpatch { - name = "use-poetry-core.patch"; - url = "https://github.com/siddhantgoel/beancount-ing/commit/2d030330eed313a32c3968a2c8ce9400c6d18a41.patch"; - hash = "sha256-6v7eQhgj6d4x9uWSyuO3IxXrSWkJZRS/M4N3j0H3R/U="; - }) - ]; - format = "pyproject"; + propagatedBuildInputs = [ + beancount + beangulp + ]; + nativeBuildInputs = with python3.pkgs; [ poetry-core ]; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index af08305faa5c1..3b6e2b61d0437 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14981,7 +14981,9 @@ with pkgs; physfs = physfs_2; }; - beancount-ing-diba = callPackage ../applications/office/beancount/beancount-ing-diba.nix { }; + beancount-ing-diba = callPackage ../applications/office/beancount/beancount-ing-diba.nix { + inherit (python3Packages) beancount beangulp; + }; beancount-share = callPackage ../applications/office/beancount/beancount_share.nix { };