mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
33 lines
734 B
Nix
33 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 ];
|
|
};
|
|
}
|