btrbk: add mainProgram (#356350)
[NixPkgs.git] / pkgs / by-name / ko / kontemplate / package.nix
blob0b0689e444397a97bba80201da505261202210d5
1 { lib
2 , buildGoModule
3 , fetchgit
4 }:
5 buildGoModule {
6   pname = "kontemplate";
7   version = "1.8.0-unstable-2024-06-09";
9   src = fetchgit {
10     url = "https://code.tvl.fyi/depot.git";
11     hash = "sha256-Cv/y1Tj+hUKP0gi9ceS1Gml1WRYbUGSeWfJfXyX6dLA=";
12     rev = "b16ddb54b0327606cec2df220eaabb1328e18e3e";
13   };
15   modRoot = "ops/kontemplate";
17   vendorHash = "sha256-xPGVM2dq5fAVOiuodOXhDm3v3k+ncNLhlk6aCtF5S9E=";
19   meta = {
20     description = "Extremely simple Kubernetes resource templates";
21     mainProgram = "kontemplate";
22     homepage = "https://code.tvl.fyi/about/ops/kontemplate";
23     license = lib.licenses.gpl3;
24     maintainers = with lib.maintainers; [ mbode tazjin ];
25     platforms = lib.platforms.unix;
27     longDescription = ''
28       Kontemplate is a simple CLI tool that can take sets of
29       Kubernetes resource files with placeholders and insert values
30       per environment.
32       It can be used as a simple way of deploying the same set of
33       resources to different Kubernetes contexts with context-specific
34       configuration.
35     '';
36   };