kontemplate: 1.3.0 -> 1.4.0

* Update to the latest release version
* Use deps.nix from upstream repository to ensure nixpkgs-built
  kontemplate is functionally equivalent to upstream releases
* extend meta attributes with long-form description
This commit is contained in:
Vincent Ambo 2018-03-18 00:13:13 +01:00
parent db2da8097c
commit e7c1817522
2 changed files with 67 additions and 67 deletions

View file

@ -1,26 +1,35 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "kontemplate-${version}";
version = "1.3.0";
version = "1.4.0";
goPackagePath = "github.com/tazjin/kontemplate";
src = fetchFromGitHub {
rev = "v${version}";
owner = "tazjin";
repo = "kontemplate";
sha256 = "0g9hs9gwwkng9vbnv07ibhll0kggdprffpmhlbz9nmv81w2z3myi";
};
goDeps = ./deps.nix;
meta = with stdenv.lib; {
src = fetchFromGitHub {
owner = "tazjin";
repo = "kontemplate";
rev = "v${version}";
sha256 = "11aqc9sgyqz3pscx7njnb3xghl7d61vzdgl3bqndady0dxsccrpj";
};
meta = with lib; {
description = "Extremely simple Kubernetes resource templates";
homepage = http://kontemplate.works;
homepage = "http://kontemplate.works";
downloadPage = "https://github.com/tazjin/kontemplate/releases";
license = licenses.gpl3;
maintainers = with maintainers; [ mbode ];
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.
'';
};
}

View file

@ -5,8 +5,8 @@
fetch = {
type = "git";
url = "https://github.com/Masterminds/semver";
rev = "15d8430ab86497c5c0da827b748823945e1cf1e1";
sha256 = "0q5w6mjr1zws04z7x1ax1hp1zxdc4mbm9zsikgd6fv0c9ndnjr3q";
rev = "517734cc7d6470c0d07130e40fd40bdeb9bcd3fd";
sha256 = "1625b5sxpmlz60jw67j1ljfcc09d4lhxg3z6gc4am8s2rrdgwij6";
};
}
{
@ -14,8 +14,8 @@
fetch = {
type = "git";
url = "https://github.com/Masterminds/sprig";
rev = "b217b9c388de2cacde4354c536e520c52c055563";
sha256 = "1f41v3c8c7zagc4qjhcb6nwkvi8nzvf70f89a7ss2m6krkxz0m2a";
rev = "e039e20e500c2c025d9145be375e27cf42a94174";
sha256 = "1yhpyzq6ghwl0242phjpbc9358fcw63pxrcxsyv9n4dm0w15va3m";
};
}
{
@ -59,8 +59,8 @@
fetch = {
type = "git";
url = "https://github.com/huandu/xstrings";
rev = "37469d0c81a7910b49d64a0d308ded4823e90937";
sha256 = "18c2b4h7phdm71mn66x8bsmghjr1b2lpg07zcbgmab37y36bjl20";
rev = "3959339b333561bf62a38b424fd41517c2c90f40";
sha256 = "0f1jyd80grpr88gwhljx2x0xgsyzw07807n4z4axxxlybh5f0nh1";
};
}
{
@ -68,17 +68,8 @@
fetch = {
type = "git";
url = "https://github.com/imdario/mergo";
rev = "7fe0c75c13abdee74b09fcacef5ea1c6bba6a874";
sha256 = "1hclh5kpg25s2llpk7j7sm3vf66xci5jchn8wzdcr5fj372ghsbd";
};
}
{
goPackagePath = "github.com/polydawn/meep";
fetch = {
type = "git";
url = "https://github.com/polydawn/meep";
rev = "eaf1db2168fe380b4da17a35f0adddb5ae15a651";
sha256 = "12n134fb2imnj67xkbznzm0gqkg36hdxwr960y91qb5s2q2krxir";
rev = "d806ba8c21777d504a2090a2ca4913c750dd3a33";
sha256 = "12n3lfbfxvnag916c6dpxl48j29s482zwsqjc6wk4vb68qbz2nl3";
};
}
{
@ -95,8 +86,8 @@
fetch = {
type = "git";
url = "https://go.googlesource.com/crypto";
rev = "94eea52f7b742c7cbe0b03b22f0c4c8631ece122";
sha256 = "095zyvjb0m2pz382500miqadhk7w3nis8z3j941z8cq4rdafijvi";
rev = "ab89591268e0c8b748cbe4047b00197516011af5";
sha256 = "1cbg8wlv1hmdps9ksa4kym5zy0mb2yjykw4ns7yqv7nmz4s5xajr";
};
}
{
@ -113,8 +104,8 @@
fetch = {
type = "git";
url = "https://gopkg.in/yaml.v2";
rev = "287cf08546ab5e7e37d55a84f7ed3fd1db036de5";
sha256 = "15502klds9wwv567vclb9kx95gs8lnyzn4ybsk6l9fc7a67lk831";
rev = "eb3733d160e74a9c7e442f435eb3bea458e1d19f";
sha256 = "1srhvcaa9db3a6xj29mkjr5kg33y71pclrlx4vcwz5m1lgb5c7q6";
};
}
]