kops: Add meta.changelog

gstqt5
Christian Kampka 2020-09-10 10:47:24 +02:00
parent c524f8b574
commit 656915d250
No known key found for this signature in database
GPG Key ID: B88E140DB4FE1AA5
1 changed files with 7 additions and 5 deletions

View File

@ -1,11 +1,11 @@
{ stdenv, lib, buildGoPackage, fetchFromGitHub, go-bindata, installShellFiles }: { stdenv, lib, buildGoPackage, fetchFromGitHub, go-bindata, installShellFiles }:
let let
goPackagePath = "k8s.io/kops"; goPackagePath = "k8s.io/kops";
generic = { version, sha256, rev ? version, ...}@attrs: generic = { version, sha256, rev ? version, ... }@attrs:
let attrs' = builtins.removeAttrs attrs ["version" "sha256" "rev"] ; in let attrs' = builtins.removeAttrs attrs [ "version" "sha256" "rev" ]; in
buildGoPackage { buildGoPackage
{
pname = "kops"; pname = "kops";
inherit version; inherit version;
@ -42,12 +42,14 @@ let
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Easiest way to get a production Kubernetes up and running"; description = "Easiest way to get a production Kubernetes up and running";
homepage = "https://github.com/kubernetes/kops"; homepage = "https://github.com/kubernetes/kops";
changelog = "https://github.com/kubernetes/kops/tree/master/docs/releases";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ offline zimbatm kampka ]; maintainers = with maintainers; [ offline zimbatm kampka ];
platforms = platforms.unix; platforms = platforms.unix;
}; };
} // attrs'; } // attrs';
in rec { in
rec {
mkKops = generic; mkKops = generic;