chatblade: init at 0.2.1

This commit is contained in:
David Morgan 2023-04-05 12:49:17 +01:00
parent 8332758415
commit b1242bc59c
No known key found for this signature in database
GPG Key ID: C171251002C200F2
2 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,47 @@
{ lib, python3Packages }:
python3Packages.buildPythonApplication rec {
pname = "chatblade";
version = "0.2.1";
format = "setuptools";
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "sha256-1syZyqdv+0iyAOWDychv3bGnkHs9SCxsEotxQ+G1UPo=";
};
doCheck = false; # there are no tests
pythonImportsCheck = [ "chatblade" ];
propagatedBuildInputs = with python3Packages; [
aiohttp
aiosignal
async-timeout
attrs
certifi
charset-normalizer
frozenlist
idna
markdown-it-py
mdurl
multidict
openai
platformdirs
pygments
pyyaml
regex
requests
rich
tiktoken
tqdm
urllib3
yarl
];
meta = with lib; {
homepage = "https://github.com/npiv/chatblade/";
description = "A CLI Swiss Army Knife for ChatGPT";
license = licenses.gpl3Only;
maintainers = with maintainers; [ deejayem ];
};
}

View File

@ -6380,6 +6380,8 @@ with pkgs;
changetower = callPackage ../tools/networking/changetower { };
chatblade = callPackage ../applications/misc/chatblade { };
checkbashisms = callPackage ../development/tools/misc/checkbashisms { };
checkmate = callPackage ../development/tools/checkmate { };