mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
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
@ -2,17 +2,19 @@
|
|||||||
, buildGoModule
|
, buildGoModule
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, nix-update-script
|
, nix-update-script
|
||||||
|
, testers
|
||||||
|
, crossplane-cli
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "crossplane-cli";
|
pname = "crossplane-cli";
|
||||||
version = "1.14.3";
|
version = "1.14.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "crossplane";
|
owner = "crossplane";
|
||||||
repo = "crossplane";
|
repo = "crossplane";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-rxN0Zi1UgQjDOkY2OJlG6826ARBzlEObJk4nDEc9784=";
|
hash = "sha256-P7zfkrE+r/pQEEu0GK7v+bJ4ONeejZLXq2sYmU/V110=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-vkXvnEstD/czBDxmI96TIQB/L4jxhMwIS1XpHqVtxqY=";
|
vendorHash = "sha256-vkXvnEstD/czBDxmI96TIQB/L4jxhMwIS1XpHqVtxqY=";
|
||||||
@ -29,6 +31,12 @@ buildGoModule rec {
|
|||||||
mv $out/bin/crank $out/bin/crossplane
|
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 { };
|
passthru.updateScript = nix-update-script { };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user