12 src = fetchFromGitHub {
13 owner = "gptscript-ai";
15 rev = "refs/tags/v${version}";
16 hash = "sha256-s7AKpoIFRcZfAM6K1MMovzOqgXdAWtnnFR3m+84L3rQ=";
19 vendorHash = "sha256-Kf/ckUuG+SA8WQN2MKL+Xrz91RGPuA7X2/MjryRXsts=";
21 propagatedBuildInputs = with darwin;
22 lib.optionals stdenv.hostPlatform.isDarwin [Security];
27 "-X github.com/gptscript-ai/gptscript/pkg/version.Tag=v${version}"
30 # Requires network access
34 homepage = "https://github.com/gptscript-ai/gptscript";
35 changelog = "https://github.com/gptscript-ai/gptscript/releases/tag/v${version}";
36 description = "Build AI assistants that interact with your systems";
37 license = with licenses; [ asl20 ];
38 maintainers = with maintainers; [ jamiemagee ];
39 mainProgram = "gptscript";