cosign: 0.3.0 -> 0.3.1
Also, `cosign version` now displays the version.
This commit is contained in:
parent
8ddbcd14ef
commit
22a2c39a74
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "cosign";
|
pname = "cosign";
|
||||||
version = "0.3.0";
|
version = "0.3.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "sigstore";
|
owner = "sigstore";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0hisjyn5z93w34gxvz1z0l74gmj8js5l3lbqhqz7pc0fra59lvx6";
|
sha256 = "1gfzard6bh78xxgjk14c9zmdplppkcjqxhvfazcbv8qppjl2pbbd";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
@ -21,6 +21,8 @@ buildGoModule rec {
|
|||||||
|
|
||||||
subPackages = [ "cmd/cosign" ];
|
subPackages = [ "cmd/cosign" ];
|
||||||
|
|
||||||
|
buildFlagsArray = [ "-ldflags=-s -w -X github.com/sigstore/cosign/cmd/cosign/cli.gitVersion=${version}" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/sigstore/cosign";
|
homepage = "https://github.com/sigstore/cosign";
|
||||||
changelog = "https://github.com/sigstore/cosign/releases/tag/v${version}";
|
changelog = "https://github.com/sigstore/cosign/releases/tag/v${version}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user