forked from mirrors/nixpkgs
be04d53db2
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
31 lines
735 B
Nix
31 lines
735 B
Nix
{ buildGoModule, lib, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "controller-tools";
|
|
version = "0.6.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kubernetes-sigs";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0hbai8pi59yhgsmmmxk3nghhy9hj3ma98jq2d1k46n46gr64a0q5";
|
|
};
|
|
|
|
vendorSha256 = "061qvq8z98d39vyk1gr46fw5ynxra154s90n3pb7k1q7q45rg76j";
|
|
|
|
doCheck = false;
|
|
|
|
subPackages = [
|
|
"cmd/controller-gen"
|
|
"cmd/type-scaffold"
|
|
"cmd/helpgen"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Tools to use with the Kubernetes controller-runtime libraries";
|
|
homepage = "https://github.com/kubernetes-sigs/controller-tools";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ michojel ];
|
|
};
|
|
}
|