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:
Ruixi-rebirth 2023-03-28 13:59:43 +08:00
parent d5a096f9a7
commit f0a09cc165
No known key found for this signature in database
GPG key ID: B26EAEB7189F30B4
2 changed files with 30 additions and 0 deletions

View 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 ];
};
}

View file

@ -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;
};