diff options
author | TheMaxMur <muravjev.mak@yandex.ru> | 2024-03-25 06:51:30 +0300 |
---|---|---|
committer | TheMaxMur <muravjev.mak@yandex.ru> | 2024-03-25 07:21:32 +0300 |
commit | 6829739ee033526c475e96914ddafa5f0e5afe46 (patch) | |
tree | 0c955f1edecc18e7376bb5bce2e4dc8fc0912e37 /pkgs/by-name/ga | |
parent | 57e6b3a9e4ebec5aa121188301f04a6b8c354c9b (diff) |
gat: init at 0.17.0
Diffstat (limited to 'pkgs/by-name/ga')
-rw-r--r-- | pkgs/by-name/ga/gat/package.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/by-name/ga/gat/package.nix b/pkgs/by-name/ga/gat/package.nix new file mode 100644 index 0000000000000..bfa31daee5f3a --- /dev/null +++ b/pkgs/by-name/ga/gat/package.nix @@ -0,0 +1,34 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "gat"; + version = "0.17.0"; + + src = fetchFromGitHub { + owner = "koki-develop"; + repo = "gat"; + rev = "refs/tags/v${version}"; + hash = "sha256-aQ7EEB+yJ78vT/LskYsnUya6rIID1AvdaUWzr1oWV3k="; + }; + + vendorHash = "sha256-q6g3pXWKIWanGPxOxsKUEuP8Hcc31GCm64RbOAhQTfE="; + + CGO_ENABLED = 0; + + ldflags = [ + "-s" + "-w" + "-X github.com/koki-develop/gat/cmd.version=v${version}" + ]; + + meta = with lib; { + description = "Cat alternative written in Go"; + license = licenses.mit; + homepage = "https://github.com/koki-develop/gat"; + maintainers = with maintainers; [ themaxmur ]; + mainProgram = "gat"; + }; +} |