chatgpt-cli: 1.1.1 -> 1.2.0
This commit is contained in:
parent
baab567c82
commit
561b02fe88
@ -5,18 +5,22 @@
|
|||||||
}:
|
}:
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "chatgpt";
|
pname = "chatgpt";
|
||||||
version = "1.1.1";
|
version = "1.2.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "j178";
|
owner = "j178";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-sGcVtppw1q05ICcYyRcF2gpFCzbBftaxAM4X4/k48as=";
|
hash = "sha256-5tEtkEDQxWFVWyK7uipm20yccCPkCDaMLzS25MmGRbE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-lD9G8N1BpWda2FAi80qzvdiQXoJIWl529THYMfQmXtg=";
|
vendorHash = "sha256-q1+4KExXth7+UC8h0+M6ChnW7T1j468umi7Q1jwnzgo=";
|
||||||
|
|
||||||
subPackages = [ "." ];
|
subPackages = [ "cmd" ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
mv $out/bin/cmd $out/bin/$pname
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Interactive CLI for ChatGPT";
|
description = "Interactive CLI for ChatGPT";
|
||||||
|
Loading…
Reference in New Issue
Block a user