Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / version-management / gut / default.nix
blob92457cdbf4c3dd5055eeb2543218e23f1a8c12f7
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 , nix-update-script
5 }:
7 buildGoModule rec {
8   pname = "gut";
9   version = "0.3.0";
11   src = fetchFromGitHub {
12     owner = "julien040";
13     repo = "gut";
14     rev = version;
15     hash = "sha256-l7yjZEcpsnVisd93EqIug1n0k18m4tUmCQFXC6b63cg=";
16   };
18   vendorHash = "sha256-G9oDMHLmdv/vQfofTqKAf21xaGp+lvW+sedLmaj+A5A=";
20   ldflags = [ "-s" "-w" "-X github.com/julien040/gut/src/telemetry.gutVersion=${version}" ];
22   # Depends on `/home` existing
23   doCheck = false;
25   passthru.updateScript = nix-update-script { };
27   meta = with lib; {
28     description = "An alternative git CLI";
29     homepage = "https://gut-cli.dev";
30     license = licenses.mit;
31     maintainers = with maintainers; [ paveloom ];
32   };