Merge pull request #298835 from TheMaxMur/feature/gat

gat: init at 0.17.0
This commit is contained in:
Pol Dellaiera 2024-03-25 06:56:16 +01:00 committed by GitHub
commit 8ef6d577a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 34 additions and 0 deletions

View File

@ -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";
};
}