11 pname = "chatgpt-shell-cli";
17 inherit pname version;
19 src = fetchFromGitHub {
21 repo = "chatgpt-shell-cli";
23 hash = "sha256-hYLrUya4UCsIB1J/n+jp1jFRCEqnGFJOr3ATxm0zwdY=";
26 nativeBuildInputs = [ makeWrapper ];
32 install -Dm755 chatgpt.sh -t $out/bin
38 wrapProgram $out/bin/chatgpt.sh \
39 --prefix PATH : ${lib.makeBinPath [ jq curl glow ]}
43 homepage = "https://github.com/0xacx/chatGPT-shell-cli";
44 description = "Simple shell script to use OpenAI's ChatGPT and DALL-E from the terminal. No Python or JS required.";
45 license = licenses.mit;
46 maintainers = with maintainers; [ jfvillablanca ];