shell_gpt: init at 0.7.3

This commit is contained in:
MGlolenstine 2023-03-20 19:53:59 +01:00 committed by Yt
parent 5a16cd6884
commit bca9308676
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{ lib
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "shell_gpt";
version = "0.7.3";
src = python3.pkgs.fetchPypi {
inherit pname version;
sha256 = "sha256-lS8zLtsh8Uz782KJwHqifEQnWQswbCXRVIfXWAmWtvI=";
};
nativeBuildInputs = with python3.pkgs; [
python3.pkgs.pythonRelaxDepsHook
python3
pip
];
propagatedBuildInputs = with python3.pkgs; [
markdown-it-py
rich
distro
typer
requests
];
pythonRelaxDeps = [ "requests" "rich" "distro" "typer" ];
doCheck = false;
meta = with lib; {
mainProgram = "sgpt";
homepage = "https://github.com/TheR1D/shell_gpt";
description = "Access ChatGPT from your terminal";
platforms = platforms.linux;
license = licenses.mit;
maintainers = with maintainers; [ mglolenstine ];
};
}

View File

@ -33275,6 +33275,8 @@ with pkgs;
shadowfox = callPackage ../tools/networking/shadowfox { };
shell_gpt = callPackage ../tools/misc/shell_gpt { };
shfmt = callPackage ../tools/text/shfmt { };
shipments = callPackage ../applications/misc/shipments { };