kubetrim: init at 0.0.1 (#354130)
This commit is contained in:
commit
9cc818cb14
34
pkgs/by-name/ku/kubetrim/package.nix
Normal file
34
pkgs/by-name/ku/kubetrim/package.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
name = "kubetrim";
|
||||
version = "0.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "alexellis";
|
||||
repo = "kubetrim";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-fX8CbId2ArJlnGkevCSB7eE6Ovs8vJR9+l//k4DgvK4=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-m9OuVFlD4F170Q6653HdvUhdULjR2cAttLsUN03XIXo=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X github.com/alexellis/kubetrim/pkg.Version=${version}"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Trim your KUBECONFIG automatically";
|
||||
homepage = "https://github.com/alexellis/kubetrim";
|
||||
changelog = "https://github.com/alexellis/kubetrim/releases/tag/${version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ bbigras ];
|
||||
mainProgram = "kubetrim";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user