Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / ga / gat / package.nix
blob577a1ea1ca3d18ad02307155d864a65dcb80e643
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 }:
6 buildGoModule rec {
7   pname = "gat";
8   version = "0.18.0";
10   src = fetchFromGitHub {
11     owner = "koki-develop";
12     repo = "gat";
13     rev = "refs/tags/v${version}";
14     hash = "sha256-QIC3SvuCu8HIwxieNnSsbBa8nTL5aL46eUDpti2gmJU=";
15   };
17   vendorHash = "sha256-xLoLLn9lsEZ+SjIbVRzhwM9mXkltfA0Zoiz1T7hpTEc=";
19   CGO_ENABLED = 0;
21   ldflags = [
22     "-s"
23     "-w"
24     "-X github.com/koki-develop/gat/cmd.version=v${version}"
25   ];
27   meta = with lib; {
28     description = "Cat alternative written in Go";
29     license = licenses.mit;
30     homepage = "https://github.com/koki-develop/gat";
31     maintainers = with maintainers; [ themaxmur ];
32     mainProgram = "gat";
33   };