diff --git a/pkgs/applications/office/beancount/beancount_share.nix b/pkgs/applications/office/beancount/beancount_share.nix index 48951fe6ce41..9e2a0c29c411 100644 --- a/pkgs/applications/office/beancount/beancount_share.nix +++ b/pkgs/applications/office/beancount/beancount_share.nix @@ -2,21 +2,28 @@ lib, python3, fetchFromGitHub, + beancount, + beancount-plugin-utils, }: -python3.pkgs.buildPythonApplication { +python3.pkgs.buildPythonApplication rec { pname = "beancount_share"; - version = "2023-12-31"; + version = "0.1.11"; src = fetchFromGitHub { owner = "akuukis"; repo = "beancount_share"; - rev = "8f925422b9947e88babbeab3fdf7d71c53c9aa9e"; - sha256 = "sha256-+ZA84VS0wf9TdrYleYB5OeKz7T8sDtrl4BM7Ft+k7OI="; + rev = "v${version}"; + sha256 = "sha256-BW2KEC0pmervT71FBixPcQciEuGcElCd2wW7BZL1xUg="; }; format = "pyproject"; + propagatedBuildInputs = [ + beancount + beancount-plugin-utils + ]; + buildInputs = [ python3.pkgs.setuptools ]; @@ -26,8 +33,5 @@ python3.pkgs.buildPythonApplication { description = "Beancount plugin to share expenses with external partners within one ledger"; license = licenses.agpl3Plus; maintainers = with maintainers; [ matthiasbeyer ]; - broken = true; - # At 2024-06-29, missing unpacked dependency - # https://hydra.nixos.org/build/262800507/nixlog/1 }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index af08305faa5c..63b2e59df542 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14983,7 +14983,9 @@ with pkgs; beancount-ing-diba = callPackage ../applications/office/beancount/beancount-ing-diba.nix { }; - beancount-share = callPackage ../applications/office/beancount/beancount_share.nix { }; + beancount-share = callPackage ../applications/office/beancount/beancount_share.nix { + inherit (python3Packages) beancount beancount-plugin-utils; + }; cataclysmDDA = callPackage ../games/cataclysm-dda { };