mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
15064010fa
Upstream release notes available at: https://github.com/tazjin/kontemplate/releases/tag/v1.7.0 The upstream uses Nix as the build system and the changes to `deps.nix` are simply copied over from there.
36 lines
1.1 KiB
Nix
36 lines
1.1 KiB
Nix
{ lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
name = "kontemplate-${version}";
|
|
version = "1.7.0";
|
|
goPackagePath = "github.com/tazjin/kontemplate";
|
|
goDeps = ./deps.nix;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tazjin";
|
|
repo = "kontemplate";
|
|
rev = "v${version}";
|
|
sha256 = "0vzircajhrfq1nykwpl52cqgzyhy51w4ff7ldpgi95w3a4fz1hzz";
|
|
};
|
|
|
|
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.
|
|
'';
|
|
};
|
|
}
|