Skip to content

Commit

Permalink
kubetrim: init at 0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bbigras committed Nov 7, 2024
1 parent fe81678 commit 4071a53
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions pkgs/by-name/ku/kubetrim/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:

buildGoModule rec {
name = "kubetrim";
version = "0.0.1";

src = fetchFromGitHub {
owner = "alexellis";
repo = "kubetrim";
rev = "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";
};
}

0 comments on commit 4071a53

Please sign in to comment.