chatgpt-cli: init at 0.6.0-beta
chatgpt-cli: init at 0.6.0-beta chatgpt-cli: init at 0.6.0-beta chatgpt-cli: init at 0.6.0-beta chatgpt-cli: init at 0.6.0-beta chatgpt-cli: init at 0.6.0-beta
This commit is contained in:
parent
d5a096f9a7
commit
f0a09cc165
2 changed files with 30 additions and 0 deletions
28
pkgs/tools/misc/chatgpt-cli/default.nix
Normal file
28
pkgs/tools/misc/chatgpt-cli/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildGoModule
|
||||
,
|
||||
}:
|
||||
buildGoModule rec {
|
||||
pname = "chatgpt";
|
||||
version = "0.6.0-beta";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "j178";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-qIa0eU3aFyDC5cm/J/BmZfcJe1DARqAtmpUMqlaqsF4=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-JlBAPHtMm5mq91aOtsNMDu48net9i3W/AxCiKalYkm4=";
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Interactive CLI for ChatGPT";
|
||||
homepage = "https://github.com/j178/chatgpt";
|
||||
license = licenses.mit;
|
||||
mainProgram = "chatgpt";
|
||||
maintainers = with maintainers; [ Ruixi-rebirth ];
|
||||
};
|
||||
}
|
|
@ -402,6 +402,8 @@ with pkgs;
|
|||
|
||||
cewl = callPackage ../tools/security/cewl { };
|
||||
|
||||
chatgpt-cli = callPackage ../tools/misc/chatgpt-cli { };
|
||||
|
||||
checkov = callPackage ../development/tools/analysis/checkov {
|
||||
python3 = python311;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue