From bd1864aec907e149c2295cad3cd5c0813e9c4f0a Mon Sep 17 00:00:00 2001 From: Thomas Kim Pham Date: Sat, 25 Nov 2017 15:24:52 +0100 Subject: [PATCH] kompose: init at 1.5.0 (#32026) --- lib/maintainers.nix | 1 + .../networking/cluster/kompose/default.nix | 23 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 3 files changed, 26 insertions(+) create mode 100644 pkgs/applications/networking/cluster/kompose/default.nix diff --git a/lib/maintainers.nix b/lib/maintainers.nix index 70bbb2fc459c..816e00773b26 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -642,6 +642,7 @@ theuni = "Christian Theune "; ThomasMader = "Thomas Mader "; thoughtpolice = "Austin Seipp "; + thpham = "Thomas Pham "; timbertson = "Tim Cuthbertson "; timokau = "Timo Kaufmann "; titanous = "Jonathan Rudenberg "; diff --git a/pkgs/applications/networking/cluster/kompose/default.nix b/pkgs/applications/networking/cluster/kompose/default.nix new file mode 100644 index 000000000000..b2c97d1ea396 --- /dev/null +++ b/pkgs/applications/networking/cluster/kompose/default.nix @@ -0,0 +1,23 @@ +{ stdenv, lib, buildGoPackage, fetchFromGitHub }: + +buildGoPackage rec { + name = "kompose-${version}"; + version = "1.5.0"; + + goPackagePath = "github.com/kubernetes/kompose"; + + src = fetchFromGitHub { + rev = "v${version}"; + owner = "kubernetes"; + repo = "kompose"; + sha256 = "1r5f8jbr2c1xxb5fpfgy23w4m30zahhmrw23jlk1hpx2w1pi1iyh"; + }; + + meta = with stdenv.lib; { + description = "A tool to help users who are familiar with docker-compose move to Kubernetes"; + homepage = https://github.com/kubernetes/kompose; + license = licenses.asl20; + maintainers = with maintainers; [thpham]; + platforms = platforms.unix; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9d323b48013f..d7112cfab196 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19386,6 +19386,8 @@ with pkgs; keynav = callPackage ../tools/X11/keynav { }; + kompose = callPackage ../applications/networking/cluster/kompose { }; + kops = callPackage ../applications/networking/cluster/kops { }; lilypond = callPackage ../misc/lilypond { guile = guile_1_8; };