Merge pull request #296762 from fabaff/tgpt-bump

tgpt: 2.7.1 -> 2.7.2
This commit is contained in:
Fabian Affolter 2024-03-18 08:42:46 +01:00 committed by GitHub
commit a9026bf05f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,18 +1,17 @@
{ lib { lib
, buildGoModule , buildGoModule
, fetchFromGitHub , fetchFromGitHub
, nix-update-script
}: }:
buildGoModule rec { buildGoModule rec {
pname = "tgpt"; pname = "tgpt";
version = "2.7.1"; version = "2.7.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "aandrew-me"; owner = "aandrew-me";
repo = "tgpt"; repo = "tgpt";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-XuTDEcs1wIrAe7Oaok4aFP01jDcyWB01R3HNrx6UEpo="; hash = "sha256-FbnweHiKfxqFegZnRlvdVbTmH4ImjddVOBlbGRT/SGw=";
}; };
vendorHash = "sha256-docq/r6yyMPsuUyFbtCMaYfEVL0gLmyTy4PbrAemR00="; vendorHash = "sha256-docq/r6yyMPsuUyFbtCMaYfEVL0gLmyTy4PbrAemR00=";
@ -22,10 +21,10 @@ buildGoModule rec {
"-w" "-w"
]; ];
# test tries to access the network preCheck = ''
doCheck = false; # Remove test which need network access
rm providers/koboldai/koboldai_test.go
passthru.updateScript = nix-update-script { }; '';
meta = with lib; { meta = with lib; {
description = "ChatGPT in terminal without needing API keys"; description = "ChatGPT in terminal without needing API keys";