8 pname = "kustomize-sops";
11 src = fetchFromGitHub {
15 hash = "sha256-FSRjPXS4Dk5oH8EO7TW6iHdGNvVhaQ7gZJ+qROXUU3U=";
18 vendorHash = "sha256-1qnNJltam04uLMhH8YftAl2jjEZP2UhVIMp9Vcy3jeg=";
21 mkdir -p $out/lib/viaduct.ai/v1/ksops/
22 mkdir -p $out/lib/viaduct.ai/v1/ksops-exec/
23 mv $GOPATH/bin/kustomize-sops $out/lib/viaduct.ai/v1/ksops/ksops
24 ln -s $out/lib/viaduct.ai/v1/ksops/ksops $out/lib/viaduct.ai/v1/ksops-exec/ksops-exec
27 # Tests are broken in a nix environment
31 description = "Flexible Kustomize Plugin for SOPS Encrypted Resource";
33 KSOPS can be used to decrypt any Kubernetes resource, but is most commonly
34 used to decrypt encrypted Kubernetes Secrets and ConfigMaps.
36 homepage = "https://github.com/viaduct-ai/kustomize-sops";
37 license = licenses.asl20;
38 maintainers = with maintainers; [ starcraft66 ];