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