3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/cluster/kontemplate/default.nix

36 lines
1.1 KiB
Nix
Raw Normal View History

{ lib, buildGoPackage, fetchFromGitHub }:
2017-12-09 19:10:05 +00:00
buildGoPackage rec {
pname = "kontemplate";
version = "1.7.0";
2017-12-09 19:10:05 +00:00
goPackagePath = "github.com/tazjin/kontemplate";
goDeps = ./deps.nix;
2017-12-09 19:10:05 +00:00
src = fetchFromGitHub {
owner = "tazjin";
repo = "kontemplate";
rev = "v${version}";
sha256 = "0vzircajhrfq1nykwpl52cqgzyhy51w4ff7ldpgi95w3a4fz1hzz";
2017-12-09 19:10:05 +00:00
};
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;
2017-12-09 19:10:05 +00:00
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.
'';
2017-12-09 19:10:05 +00:00
};
}