7 pname = "helm-cm-push";
10 src = fetchFromGitHub {
11 owner = "chartmuseum";
14 hash = "sha256-YnhI1/BDk9swr3YFm5ajGf4LLgPty7blA2tlsMH0erY=";
17 vendorHash = "sha256-7bUDKqkvBV1Upcrj4DQnVCP74QtKlSwF0Kl2sPFZpjc=";
19 subPackage = [ "cmd/helm-cm-push" ];
23 sed -e '/^hooks:/,+2 d' -i plugin.yaml
28 ldflags = [ "-s" "-w" ];
31 install -Dm644 plugin.yaml $out/helm-cm-push/plugin.yaml
32 mv $out/bin $out/helm-cm-push
35 # Tests require the ChartMuseum service.
39 description = "Helm plugin to push chart package to ChartMuseum";
40 homepage = "https://github.com/chartmuseum/helm-push";
41 license = licenses.asl20;
42 maintainers = with maintainers; [ azahi ];