forked from mirrors/nixpkgs
28 lines
755 B
Nix
28 lines
755 B
Nix
{ buildGoModule, lib, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "argo-rollouts";
|
|
version = "1.2.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "argoproj";
|
|
repo = "argo-rollouts";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-l23RVpwT/XYkpVTWkSYdPyvn7Xirs0Sf85U6Wrx5H1k=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-URuIeF1ejKdMGxziJbujLctYheiIr/Jfo+gTzppZG9E=";
|
|
|
|
# Disable tests since some test fail because of missing test data
|
|
doCheck = false;
|
|
|
|
subPackages = [ "cmd/rollouts-controller" "cmd/kubectl-argo-rollouts" ];
|
|
|
|
meta = with lib; {
|
|
description = "Kubernetes Progressive Delivery Controller";
|
|
homepage = "https://github.com/argoproj/argo-rollouts/";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ psibi ];
|
|
};
|
|
}
|