summaryrefslogtreecommitdiff
path: root/pkgs/by-name/pu/puffin/package.nix
blob: 07205ed25b616c64fe6b93099c4c3c4815256f12 (about) (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
{
  lib,
  fetchFromGitHub,
  buildGoModule,
}:
buildGoModule rec {
  pname = "puffin";
  version = "2.1.3";

  src = fetchFromGitHub {
    owner = "siddhantac";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-1qF5KOu2Se49Dw8QrSeUYIx9Yf0MCY/nbLu9IFnHxpA=";
  };

  vendorHash = "sha256-ZxAqR3D5VUtbntktrpnywPG3m9rq1utO4fdum0Qe6TU=";

  meta = {
    description = "Beautiful terminal dashboard for hledger";
    homepage = "https://github.com/siddhantac/puffin";
    license = lib.licenses.mit;
    mainProgram = "puffin";
    maintainers = with lib.maintainers; [ renesat ];
  };
}