{ lib, rustPlatform, fetchFromGitHub, pkg-config, openssl, }: rustPlatform.buildRustPackage rec { pname = "stakpak"; version = "0.3.88"; src = fetchFromGitHub { owner = "stakpak"; repo = "agent"; rev = "v${version}"; hash = "sha256-rTqRxfAFQChA5fjW5VVxGThH0X7OodF1SdviMd3dK78="; }; cargoHash = "sha256-jf0PqcoNtfdcDNayPNVNeWNaa0acuUJeb3CYLKN6VeA="; nativeBuildInputs = [ pkg-config ]; buildInputs = [ openssl ]; doCheck = false; passthru.category = "AI Agents"; meta = with lib; { description = "DevOps AI agent that generates infrastructure code, debugs Kubernetes, configures CI/CD, and automates deployments"; homepage = "https://stakpak.io"; changelog = "https://github.com/stakpak/agent/releases/tag/v${version}"; license = licenses.asl20; sourceProvenance = with sourceTypes; [ fromSource ]; mainProgram = "stakpak"; platforms = platforms.all; }; }