mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
tgpt: 2.7.1 -> 2.7.2
Diff: https://github.com/aandrew-me/tgpt/compare/refs/tags/v2.7.1...v2.7.2 Changelog: https://github.com/aandrew-me/tgpt/releases/tag/v2.7.2
This commit is contained in:
parent
54aa6db4bf
commit
5462cbed9b
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user