Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / misc / chatblade / default.nix
blobe338322ae6491610ce08cf053a7a84f878305940
1 { lib, python3Packages, fetchPypi }:
3 python3Packages.buildPythonApplication rec {
4   pname = "chatblade";
5   version = "0.3.1";
6   format = "setuptools";
8   src = fetchPypi {
9     inherit pname version;
10     sha256 = "sha256-QBURvPfDBbhF+AhQ0SsHYnZzr5RN36Cqa2DrAQZW0gU=";
11   };
13   doCheck = false; # there are no tests
15   pythonImportsCheck = [ "chatblade" ];
16   propagatedBuildInputs = with python3Packages; [
17     aiohttp
18     aiosignal
19     async-timeout
20     attrs
21     certifi
22     charset-normalizer
23     frozenlist
24     idna
25     markdown-it-py
26     mdurl
27     multidict
28     openai
29     platformdirs
30     pygments
31     pyyaml
32     regex
33     requests
34     rich
35     tiktoken
36     tqdm
37     urllib3
38     yarl
39   ];
41   meta = with lib; {
42     homepage = "https://github.com/npiv/chatblade/";
43     description = "A CLI Swiss Army Knife for ChatGPT";
44     license = licenses.gpl3Only;
45     maintainers = with maintainers; [ deejayem ];
46   };