From f611f559297b35ef610cc534b14e1fcaf48f059c Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 31 Dec 2023 12:21:49 +0100 Subject: [PATCH] beancount_share: init at 2023-12-31 Signed-off-by: Matthias Beyer --- .../office/beancount/beancount_share.nix | 30 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/applications/office/beancount/beancount_share.nix diff --git a/pkgs/applications/office/beancount/beancount_share.nix b/pkgs/applications/office/beancount/beancount_share.nix new file mode 100644 index 000000000000..5386deff1d0b --- /dev/null +++ b/pkgs/applications/office/beancount/beancount_share.nix @@ -0,0 +1,30 @@ +{ lib +, python3 +, fetchFromGitHub +, fetchpatch +}: + +python3.pkgs.buildPythonApplication rec { + pname = "beancount_share"; + version = "2023-12-31"; + + src = fetchFromGitHub { + owner = "akuukis"; + repo = "beancount_share"; + rev = "8f925422b9947e88babbeab3fdf7d71c53c9aa9e"; + sha256 = "sha256-+ZA84VS0wf9TdrYleYB5OeKz7T8sDtrl4BM7Ft+k7OI="; + }; + + format = "pyproject"; + + buildInputs = [ + python3.pkgs.setuptools + ]; + + meta = with lib; { + homepage = "https://github.com/akuukis/beancount_share"; + description = "A beancount plugin to share expenses with external partners within one ledger"; + license = licenses.agpl3Plus; + maintainers = with maintainers; [ matthiasbeyer ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 056bada2b343..4c23b4f21f32 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -37547,6 +37547,8 @@ with pkgs; beancount-ing-diba = callPackage ../applications/office/beancount/beancount-ing-diba.nix { }; + beancount-share = callPackage ../applications/office/beancount/beancount_share.nix { }; + black-hole-solver = callPackage ../games/black-hole-solver { inherit (perlPackages) PathTiny; };