8 pname = "helm-mapkubeapis";
11 src = fetchFromGitHub {
13 repo = "helm-mapkubeapis";
15 hash = "sha256-0DIBdSi/WIHVF8O7OtJOaFnIfpObsUXzgpj25kJuS6E=";
18 vendorHash = "sha256-G3Q8XCwKLgHeWLF46C5lWfvuynr/cJbkq7xdydfTHZ4=";
20 # NOTE: Remove the install and upgrade hooks.
22 sed -i '/^hooks:/,+2 d' plugin.yaml
26 install -dm755 $out/helm-mapkubeapis
27 mv $out/bin $out/helm-mapkubeapis/
28 install -m644 -Dt $out/helm-mapkubeapis/config/ config/Map.yaml
29 install -m644 -Dt $out/helm-mapkubeapis plugin.yaml
33 description = "Helm plugin which maps deprecated or removed Kubernetes APIs in a release to supported APIs";
34 homepage = "https://github.com/helm/helm-mapkubeapis";
35 license = with lib.licenses; [ asl20 ];
36 maintainers = with lib.maintainers; [ aos ];