From cf00b9aff4890dc5bbf091cd14f87a7e434004b6 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Mon, 16 Jul 2018 23:29:06 +0200 Subject: [PATCH] ksonnet: init at 0.11.0 closes #42596 --- .../networking/cluster/ksonnet/default.nix | 23 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/applications/networking/cluster/ksonnet/default.nix diff --git a/pkgs/applications/networking/cluster/ksonnet/default.nix b/pkgs/applications/networking/cluster/ksonnet/default.nix new file mode 100644 index 000000000000..b8bce9315237 --- /dev/null +++ b/pkgs/applications/networking/cluster/ksonnet/default.nix @@ -0,0 +1,23 @@ +{ lib, buildGoPackage, fetchFromGitHub, ... }: + +buildGoPackage rec { + version = "0.11.0"; + name = "ksonnet-${version}"; + + src = fetchFromGitHub { + owner = "ksonnet"; + repo = "ksonnet"; + rev = "v${version}"; + sha256 = "0z7gkgcsiclm72bznmzv5jcgx5rblndcsiqc0r2mwhxhmv19bs04"; + }; + + goPackagePath = "github.com/ksonnet/ksonnet"; + + meta = { + description = "A CLI-supported framework that streamlines writing and deployment of Kubernetes configurations to multiple clusters"; + homepage = https://github.com/ksonnet/ksonnet; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ flokli ]; + platforms = lib.platforms.unix; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e0e4bfd40435..be5be2058302 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -16948,6 +16948,8 @@ with pkgs; ktorrent = libsForQt5.callPackage ../applications/networking/p2p/ktorrent { }; + ksonnet = callPackage ../applications/networking/cluster/ksonnet { }; + kubecfg = callPackage ../applications/networking/cluster/kubecfg { }; kubernetes = callPackage ../applications/networking/cluster/kubernetes { };