crossplane-cli: 1.14.3 -> 1.14.5
Release: https://github.com/crossplane/crossplane/releases/tag/v1.14.5 Changelog: https://github.com/crossplane/crossplane/compare/v1.14.3...v1.14.5 * Add version test
This commit is contained in:
parent
05fdbaa602
commit
5e38c6a8be
1 changed files with 10 additions and 2 deletions
|
@ -2,17 +2,19 @@
|
|||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, nix-update-script
|
||||
, testers
|
||||
, crossplane-cli
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "crossplane-cli";
|
||||
version = "1.14.3";
|
||||
version = "1.14.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "crossplane";
|
||||
repo = "crossplane";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-rxN0Zi1UgQjDOkY2OJlG6826ARBzlEObJk4nDEc9784=";
|
||||
hash = "sha256-P7zfkrE+r/pQEEu0GK7v+bJ4ONeejZLXq2sYmU/V110=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-vkXvnEstD/czBDxmI96TIQB/L4jxhMwIS1XpHqVtxqY=";
|
||||
|
@ -29,6 +31,12 @@ buildGoModule rec {
|
|||
mv $out/bin/crank $out/bin/crossplane
|
||||
'';
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = crossplane-cli;
|
||||
command = "crossplane --version";
|
||||
version = "v${version}";
|
||||
};
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue