gsctl: 0.15.4 -> 1.1.4
Also switch to buildGoModule.
This commit is contained in:
parent
0f4537bf59
commit
79f727ad47
1 changed files with 12 additions and 7 deletions
|
@ -1,18 +1,23 @@
|
||||||
{ lib, buildGoPackage, fetchFromGitHub }:
|
{ lib, buildGoModule, fetchFromGitHub }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoModule rec {
|
||||||
pname = "gsctl";
|
pname = "gsctl";
|
||||||
version = "0.15.4";
|
version = "1.1.4";
|
||||||
|
|
||||||
goPackagePath = "github.com/giantswarm/gsctl";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "giantswarm";
|
owner = "giantswarm";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0s5bli08wfd9xszx3kc90k51vlgjc00r0qg4mikb6qdc4pxpgsxj";
|
sha256 = "sha256-uCNWgaLZMm1vPxFduj8mpjKYuYlp1ChF6bK+bmAWy50=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
vendorSha256 = "sha256-lZgHrQYqoyoM1Iv6vCqTMcv62zSKyxaAsq56kUXHrIA=";
|
||||||
|
|
||||||
|
ldflags =
|
||||||
|
[ "-s" "-w" "-X github.com/giantswarm/gsctl/buildinfo.Version=${version}" ];
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "The Giant Swarm command line interface";
|
description = "The Giant Swarm command line interface";
|
||||||
homepage = "https://github.com/giantswarm/gsctl";
|
homepage = "https://github.com/giantswarm/gsctl";
|
||||||
|
|
Loading…
Reference in a new issue