depot/third_party/nixpkgs/pkgs/development/python-modules/chat-downloader/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

46 lines
1,002 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
requests,
isodate,
docstring-parser,
colorlog,
websocket-client,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "chat-downloader";
version = "0.2.8";
format = "setuptools";
src = fetchPypi {
inherit version pname;
hash = "sha256-WBasBhefgRkOdMdz2K/agvS+cY6m3/33wiu+Jl4d1Cg=";
};
propagatedBuildInputs = [
requests
isodate
docstring-parser
colorlog
websocket-client
];
# Tests try to access the network.
doCheck = false;
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "chat_downloader" ];
meta = with lib; {
description = "Simple tool used to retrieve chat messages from livestreams, videos, clips and past broadcasts";
mainProgram = "chat_downloader";
homepage = "https://github.com/xenova/chat-downloader";
changelog = "https://github.com/xenova/chat-downloader/releases/tag/v${version}";
license = licenses.mit;
maintainers = [ ];
};
}