From 656915d250b83baa3955ce3bc7692109630f9cdd Mon Sep 17 00:00:00 2001 From: Christian Kampka Date: Thu, 10 Sep 2020 10:47:24 +0200 Subject: [PATCH] kops: Add meta.changelog --- .../applications/networking/cluster/kops/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/networking/cluster/kops/default.nix b/pkgs/applications/networking/cluster/kops/default.nix index 7bcc97c7392..baf10e273fb 100644 --- a/pkgs/applications/networking/cluster/kops/default.nix +++ b/pkgs/applications/networking/cluster/kops/default.nix @@ -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;