3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/kind/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

31 lines
797 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
with stdenv.lib;
buildGoPackage rec {
pname = "kind";
version = "0.3.0";
src = fetchFromGitHub {
rev = "v${version}";
owner = "kubernetes-sigs";
repo = "kind";
sha256 = "1azl5knw1n7g42xp92r9k7y4rzwp9xx0spcldszrpry2v4lmc5sb";
};
# move dev tool package that confuses the go compiler
patchPhase = "rm -r hack";
goDeps = ./deps.nix;
goPackagePath = "sigs.k8s.io/kind";
excludedPackages = "images/base/entrypoint";
meta = {
description = "Kubernetes IN Docker - local clusters for testing Kubernetes";
homepage = https://github.com/kubernetes-sigs/kind;
maintainers = with maintainers; [ offline rawkode ];
license = stdenv.lib.licenses.asl20;
platforms = platforms.unix;
};
}