cosign: use buildFlagsArray
And add myself as a maintainer
This commit is contained in:
parent
0425d81848
commit
5a304b17ed
|
@ -21,13 +21,15 @@ buildGoModule rec {
|
|||
|
||||
subPackages = [ "cmd/cosign" ];
|
||||
|
||||
buildFlagsArray = [ "-ldflags=-s -w -X github.com/sigstore/cosign/cmd/cosign/cli.gitVersion=${version}" ];
|
||||
preBuild = ''
|
||||
buildFlagsArray+=("-ldflags" "-s -w -X github.com/sigstore/cosign/cmd/cosign/cli.gitVersion=v${version}")
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/sigstore/cosign";
|
||||
changelog = "https://github.com/sigstore/cosign/releases/tag/v${version}";
|
||||
description = "Container Signing CLI with support for ephemeral keys and Sigstore signing";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ lesuisse ];
|
||||
maintainers = with maintainers; [ lesuisse jk ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue