nixpkgs/pkgs/applications/misc/chatblade/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

48 lines
919 B
Nix
Raw Normal View History

2023-04-05 14:49:17 +03:00
{ lib, python3Packages }:
python3Packages.buildPythonApplication rec {
pname = "chatblade";
2023-04-27 14:41:07 +03:00
version = "0.2.3";
2023-04-05 14:49:17 +03:00
format = "setuptools";
src = python3Packages.fetchPypi {
inherit pname version;
2023-04-27 14:41:07 +03:00
sha256 = "sha256-YXZeqIX8cxNDvM4Pn0or6Lqj2ffX9aQb3b/xMIeBHRk=";
2023-04-05 14:49:17 +03:00
};
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 ];
};
}