about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/office/beancount/beancount_share.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/office/beancount/beancount_share.nix')
-rw-r--r--nixpkgs/pkgs/applications/office/beancount/beancount_share.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/office/beancount/beancount_share.nix b/nixpkgs/pkgs/applications/office/beancount/beancount_share.nix
new file mode 100644
index 000000000000..5386deff1d0b
--- /dev/null
+++ b/nixpkgs/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 ];
+  };
+}