mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
Merge pull request #19398 from offlinehacker/pkgs/kops/init
kops: init at 1.4.0
This commit is contained in:
commit
cd99ddfbce
31
pkgs/applications/networking/cluster/kops/default.nix
Normal file
31
pkgs/applications/networking/cluster/kops/default.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ stdenv, lib, buildGoPackage, fetchFromGitHub, go-bindata }:
|
||||||
|
|
||||||
|
buildGoPackage rec {
|
||||||
|
name = "kops-${version}";
|
||||||
|
version = "1.4.0";
|
||||||
|
rev = "v${version}";
|
||||||
|
|
||||||
|
goPackagePath = "k8s.io/kops";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
inherit rev;
|
||||||
|
owner = "kubernetes";
|
||||||
|
repo = "kops";
|
||||||
|
sha256 = "1jwgn7l8c639j5annwymqjdw5mcajwn58y21042jy5lhgdh8pdf5";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [go-bindata];
|
||||||
|
subPackages = ["cmd/kops"];
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
(cd go/src/k8s.io/kops
|
||||||
|
go-bindata -o upup/models/bindata.go -pkg models -prefix upup/models/ upup/models/...)
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Easiest way to get a production Kubernetes up and running";
|
||||||
|
homepage = https://github.com/kubernetes/kops;
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [offline];
|
||||||
|
};
|
||||||
|
}
|
@ -16837,6 +16837,8 @@ in
|
|||||||
|
|
||||||
keynav = callPackage ../tools/X11/keynav { };
|
keynav = callPackage ../tools/X11/keynav { };
|
||||||
|
|
||||||
|
kops = callPackage ../applications/networking/cluster/kops { };
|
||||||
|
|
||||||
lilypond = callPackage ../misc/lilypond { guile = guile_1_8; };
|
lilypond = callPackage ../misc/lilypond { guile = guile_1_8; };
|
||||||
|
|
||||||
mailcore2 = callPackage ../development/libraries/mailcore2 { };
|
mailcore2 = callPackage ../development/libraries/mailcore2 { };
|
||||||
|
Loading…
Reference in New Issue
Block a user