nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule rec {
8 pname = "broom";
9 version = "0.3.0";
10
11 src = fetchFromGitHub {
12 owner = "a-camarillo";
13 repo = "broom";
14 rev = "v${version}";
15 hash = "sha256-a2hUgYpiKm/dZWLRuCZKuGStmZ/7jDtLRAjd/B57Vxw=";
16 };
17
18 vendorHash = "sha256-zNklqGjMt89b+JOZfKjTO6c75SXO10e7YtQOqqQZpnA=";
19
20 ldflags = [
21 "-s"
22 "-w"
23 ];
24
25 meta = with lib; {
26 description = "Interactive CLI tool for managing local git branches";
27 homepage = "https://github.com/a-camarillo/broom";
28 license = licenses.mit;
29 maintainers = with maintainers; [ a-camarillo ];
30 mainProgram = "broom";
31 };
32}