Unverified Commit f0a09cc1 authored by Ruixi-rebirth's avatar Ruixi-rebirth
Browse files

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
parent d5a096f9
Loading
Loading
Loading
Loading
+28 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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;
  };