3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/cluster/argocd/default.nix
2020-02-13 12:12:28 -08:00

32 lines
750 B
Nix

{ lib, buildGoModule, fetchFromGitHub, packr }:
buildGoModule rec {
pname = "argocd";
version = "1.4.2";
src = fetchFromGitHub {
owner = "argoproj";
repo = "argo-cd";
rev = "v${version}";
sha256 = "01vsyrks1k5yfvrarv8ia0isr7snilr21b7lfiy860si82r2r8hj";
};
modSha256 = "1qivg7yy7ymmgkrvl365x29d8jnsphbz18j1ykgwwysyw3n4jkdg";
nativeBuildInputs = [ packr ];
patches = [ ./use-go-module.patch ];
# run packr to embed assets
preBuild = ''
packr
'';
meta = with lib; {
description = "Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes";
homepage = "https://github.com/argoproj/argo";
license = licenses.asl20;
maintainers = with maintainers; [ shahrukh330 ];
};
}