mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
gat: init at 0.17.0
This commit is contained in:
parent
57e6b3a9e4
commit
6829739ee0
34
pkgs/by-name/ga/gat/package.nix
Normal file
34
pkgs/by-name/ga/gat/package.nix
Normal 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";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user