nixpkgs/pkgs/development/python-modules/chat-downloader/default.nix
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

47 lines
1002 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 = [ ];
};
}