1 { lib, buildGoModule, fetchFromGitHub }:
4 pname = "kustomize-sops";
7 src = fetchFromGitHub {
11 hash = "sha256-zEiRbbQzUqFHNtrzyZDNEaXT/T+TfB6KqOXkdjrCiW4=";
14 vendorHash = "sha256-aNrhS4oCG5DB3yjolWL49DtNqZA5dNRqQ2YPBeKQzWI=";
17 mkdir -p $out/lib/viaduct.ai/v1/ksops-exec/
18 mv $GOPATH/bin/kustomize-sops $out/lib/viaduct.ai/v1/ksops-exec/ksops-exec
21 # Tests are broken in a nix environment
25 description = "A Flexible Kustomize Plugin for SOPS Encrypted Resource";
27 KSOPS can be used to decrypt any Kubernetes resource, but is most commonly
28 used to decrypt encrypted Kubernetes Secrets and ConfigMaps.
30 homepage = "https://github.com/viaduct-ai/kustomize-sops";
31 license = licenses.asl20;
32 maintainers = with maintainers; [ starcraft66 ];