diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2024-05-03 00:13:16 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-03 00:13:16 +0000 |
commit | 26d2f291dffdcb7e5f40896be3fc3bc72538dbd0 (patch) | |
tree | 5eab6c80968fb769f5433bc2fa6b96f102d17701 /pkgs/by-name/gp/gptscript/package.nix | |
parent | 2918b2c876b74d0ba5e333676ee86228f51c24e8 (diff) | |
parent | 172094c8c1f83ee7f6d7dd10e64fdc7da0e4ac3b (diff) |
Merge master into haskell-updates
Diffstat (limited to 'pkgs/by-name/gp/gptscript/package.nix')
-rw-r--r-- | pkgs/by-name/gp/gptscript/package.nix | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/pkgs/by-name/gp/gptscript/package.nix b/pkgs/by-name/gp/gptscript/package.nix index 0cd7af6cb2217..f76c765987425 100644 --- a/pkgs/by-name/gp/gptscript/package.nix +++ b/pkgs/by-name/gp/gptscript/package.nix @@ -5,22 +5,21 @@ }: buildGo122Module rec { pname = "gptscript"; - version = "0.1.1"; + version = "0.5.0"; src = fetchFromGitHub { owner = "gptscript-ai"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-zG75L10WvfkmjwW3ifBHaTkHNXqXvNO0PaXejCc2tls="; + hash = "sha256-teZQhGYKJ5Ma5by3Wug5B1hAV1tox94MF586ZeEXp6o="; }; - vendorHash = "sha256-LV9uLLwdtLJTIxaBB1Jew92S0QjQsceyLEfSrDeDnR4="; + vendorHash = "sha256-0irUcEomQzo9+vFJEk28apLNuJdsX1RHEqB7T88X7Ks="; ldflags = [ "-s" "-w" - "-X main.Version=${version}" - "-X main.Commit=${version}" + "-X github.com/gptscript-ai/gptscript/pkg/version.Tag=v${version}" ]; # Requires network access @@ -30,8 +29,8 @@ buildGo122Module rec { homepage = "https://gptscript.ai"; changelog = "https://github.com/gptscript-ai/gptscript/releases/tag/v{version}"; description = "Natural Language Programming"; - license = with licenses; [asl20]; - maintainers = with maintainers; [jamiemagee]; + license = with licenses; [ asl20 ]; + maintainers = with maintainers; [ jamiemagee ]; mainProgram = "gptscript"; }; } |