biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / misc / chatblade / default.nix
blob696cf52ba4146343a9b09be61ba6da4e0f37e287
1 { lib, python3Packages, fetchPypi }:
3 python3Packages.buildPythonApplication rec {
4   pname = "chatblade";
5   version = "0.6.4";
6   format = "setuptools";
8   src = fetchPypi {
9     inherit pname version;
10     hash = "sha256-d8XavZBuWsuIUxraC2XaWM6tgo2JmsPZwzyl9Rj5wWM=";
11   };
13   doCheck = false; # there are no tests
15   pythonImportsCheck = [ "chatblade" ];
16   propagatedBuildInputs = with python3Packages; [
17     openai
18     platformdirs
19     pylatexenc
20     pyyaml
21     rich
22     tiktoken
23   ];
25   meta = with lib; {
26     homepage = "https://github.com/npiv/chatblade/";
27     description = "CLI Swiss Army Knife for ChatGPT";
28     mainProgram = "chatblade";
29     license = licenses.gpl3Only;
30     maintainers = with maintainers; [ deejayem ];
31   };