about summary refs log tree commit diff
path: root/pkgs/applications/editors/emacs/elisp-packages/manual-packages/beancount/default.nix
blob: 0e3c66e0324298dfcbdd92698ed99ea88f991c40 (plain) (blame)
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
{ lib
, melpaBuild
, fetchFromGitHub
, emacs
, writeText
}:

let
  rev = "519bfd868f206ed2fc538a57cdb631c4fec3c93e";
in
melpaBuild {
  pname = "beancount";
  version = "20230205.436";

  src = fetchFromGitHub {
    owner = "beancount";
    repo = "beancount-mode";
    inherit rev;
    hash = "sha256-nTEXJdPEPZpNm06uYvRxLuiOHmsiIgMLerd//dA0+KQ=";
  };

  commit = rev;

  recipe = writeText "recipe" ''
    (beancount :repo "beancount/beancount-mode" :fetcher github)
  '';

  meta = {
    homepage = "https://github.com/beancount/beancount-mode";
    description = "Emacs major-mode to work with Beancount ledger files";
    maintainers = with lib.maintainers; [ polarmutex ];
    license = lib.licenses.gpl3Only;
    inherit (emacs.meta) platforms;
  };
}