gsctl: 0.15.4 -> 1.1.4

Also switch to buildGoModule.
This commit is contained in:
Daniel Nagy 2022-02-18 17:42:24 +01:00
parent 0f4537bf59
commit 79f727ad47
No known key found for this signature in database
GPG key ID: 1B8E8DCB576FB671

View file

@ -1,18 +1,23 @@
{ lib, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoPackage rec {
buildGoModule rec {
pname = "gsctl";
version = "0.15.4";
goPackagePath = "github.com/giantswarm/gsctl";
version = "1.1.4";
src = fetchFromGitHub {
owner = "giantswarm";
repo = pname;
rev = version;
sha256 = "0s5bli08wfd9xszx3kc90k51vlgjc00r0qg4mikb6qdc4pxpgsxj";
rev = version;
sha256 = "sha256-uCNWgaLZMm1vPxFduj8mpjKYuYlp1ChF6bK+bmAWy50=";
};
vendorSha256 = "sha256-lZgHrQYqoyoM1Iv6vCqTMcv62zSKyxaAsq56kUXHrIA=";
ldflags =
[ "-s" "-w" "-X github.com/giantswarm/gsctl/buildinfo.Version=${version}" ];
doCheck = false;
meta = with lib; {
description = "The Giant Swarm command line interface";
homepage = "https://github.com/giantswarm/gsctl";