9 pname = "operator-sdk";
12 src = fetchFromGitHub {
13 owner = "operator-framework";
15 rev = "refs/tags/v${version}";
16 hash = "sha256-v/7nqZg/lwiK2k92kQWSZCSjEZhTAQHCGBcTfxQX2r0=";
19 vendorHash = "sha256-geKWTsDLx5drTleTnneg2JIbe5sMS5JUQxTX9Bcm+IQ=";
32 "cmd/ansible-operator"
37 # operator-sdk uses the go compiler at runtime
38 allowGoReference = true;
41 wrapProgram $out/bin/operator-sdk --prefix PATH : ${lib.makeBinPath [ go ]}
45 description = "SDK for building Kubernetes applications. Provides high level APIs, useful abstractions, and project scaffolding";
46 homepage = "https://github.com/operator-framework/operator-sdk";
47 changelog = "https://github.com/operator-framework/operator-sdk/releases/tag/v${version}";
48 license = licenses.asl20;
49 maintainers = with maintainers; [ arnarg ];
50 platforms = platforms.linux ++ platforms.darwin;