diff options
Diffstat (limited to 'pkgs/applications/networking/cluster/kontemplate/default.nix')
-rw-r--r-- | pkgs/applications/networking/cluster/kontemplate/default.nix | 41 |
1 files changed, 25 insertions, 16 deletions
diff --git a/pkgs/applications/networking/cluster/kontemplate/default.nix b/pkgs/applications/networking/cluster/kontemplate/default.nix index aa5f8663331..56cbef7f005 100644 --- a/pkgs/applications/networking/cluster/kontemplate/default.nix +++ b/pkgs/applications/networking/cluster/kontemplate/default.nix @@ -1,26 +1,35 @@ -{ stdenv, buildGoPackage, fetchFromGitHub }: +{ lib, buildGoPackage, fetchFromGitHub }: buildGoPackage rec { - name = "kontemplate-${version}"; - version = "1.3.0"; - + name = "kontemplate-${version}"; + version = "1.4.0"; goPackagePath = "github.com/tazjin/kontemplate"; + goDeps = ./deps.nix; src = fetchFromGitHub { - rev = "v${version}"; - owner = "tazjin"; - repo = "kontemplate"; - sha256 = "0g9hs9gwwkng9vbnv07ibhll0kggdprffpmhlbz9nmv81w2z3myi"; + owner = "tazjin"; + repo = "kontemplate"; + rev = "v${version}"; + sha256 = "11aqc9sgyqz3pscx7njnb3xghl7d61vzdgl3bqndady0dxsccrpj"; }; - goDeps = ./deps.nix; - - meta = with stdenv.lib; { - description = "Extremely simple Kubernetes resource templates"; - homepage = http://kontemplate.works; - license = licenses.gpl3; - maintainers = with maintainers; [ mbode ]; - platforms = platforms.unix; + meta = with lib; { + description = "Extremely simple Kubernetes resource templates"; + homepage = "http://kontemplate.works"; + downloadPage = "https://github.com/tazjin/kontemplate/releases"; + license = licenses.gpl3; + maintainers = with maintainers; [ mbode tazjin ]; + platforms = platforms.unix; repositories.git = git://github.com/tazjin/kontemplate.git; + + longDescription = '' + Kontemplate is a simple CLI tool that can take sets of + Kubernetes resource files with placeholders and insert values + per environment. + + It can be used as a simple way of deploying the same set of + resources to different Kubernetes contexts with context-specific + configuration. + ''; }; } |