depot/third_party/nixpkgs/pkgs/applications/misc/chatblade/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

32 lines
734 B
Nix

{ lib, python3Packages, fetchPypi }:
python3Packages.buildPythonApplication rec {
pname = "chatblade";
version = "0.6.4";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-d8XavZBuWsuIUxraC2XaWM6tgo2JmsPZwzyl9Rj5wWM=";
};
doCheck = false; # there are no tests
pythonImportsCheck = [ "chatblade" ];
propagatedBuildInputs = with python3Packages; [
openai
platformdirs
pylatexenc
pyyaml
rich
tiktoken
];
meta = with lib; {
homepage = "https://github.com/npiv/chatblade/";
description = "CLI Swiss Army Knife for ChatGPT";
mainProgram = "chatblade";
license = licenses.gpl3Only;
maintainers = with maintainers; [ deejayem ];
};
}