summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/office/beancount/beancount_share.nix
blob: d82dc6aef7c0d478db7aafd5764596d49ad7dd1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
  lib,
  python3,
  fetchFromGitHub,
  beancount,
  beancount-plugin-utils,
}:

python3.pkgs.buildPythonApplication rec {
  pname = "beancount_share";
  version = "0.1.11";

  src = fetchFromGitHub {
    owner = "akuukis";
    repo = "beancount_share";
    rev = "v${version}";
    sha256 = "sha256-BW2KEC0pmervT71FBixPcQciEuGcElCd2wW7BZL1xUg=";
  };

  pyproject = true;

  propagatedBuildInputs = [
    beancount
    beancount-plugin-utils
  ];

  buildInputs = [
    python3.pkgs.setuptools
  ];

  meta = {
    homepage = "https://github.com/akuukis/beancount_share";
    description = "Beancount plugin to share expenses with external partners within one ledger";
    license = lib.licenses.agpl3Plus;
    maintainers = with lib.maintainers; [ matthiasbeyer ];
  };
}