159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
32 lines
734 B
Nix
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 ];
|
|
};
|
|
}
|