about summary refs log tree commit diff
path: root/pkgs/by-name/br/broom/package.nix
blob: 69aa9ae6842253db60809e3632175a4155c58476 (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
{ lib
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
  pname = "broom";
  version = "0.3.0";

  src = fetchFromGitHub {
    owner = "a-camarillo";
    repo = "broom";
    rev = "v${version}";
    hash = "sha256-a2hUgYpiKm/dZWLRuCZKuGStmZ/7jDtLRAjd/B57Vxw=";
  };

  vendorHash = "sha256-zNklqGjMt89b+JOZfKjTO6c75SXO10e7YtQOqqQZpnA=";

  ldflags = [ "-s" "-w" ];

  meta = with lib; {
    description = "An interactive CLI tool for managing local git branches";
    homepage = "https://github.com/a-camarillo/broom";
    license = licenses.mit;
    maintainers = with maintainers; [ a-camarillo ];
    mainProgram = "broom";
  };
}