depot/third_party/nixpkgs/pkgs/development/python-modules/chat-downloader/default.nix
Default email 7d542a9f98 Project import generated by Copybara.
GitOrigin-RevId: b72b8b94cf0c012b0252a9100a636cad69696666
2022-12-02 08:20:57 +00:00

44 lines
990 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, requests
, isodate
, docstring-parser
, colorlog
, websocket-client
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "chat-downloader";
version = "0.2.1";
format = "setuptools";
src = fetchPypi {
inherit version pname;
sha256 = "6b6d63124371dc1f89979662209aad11dc9954faf8fadb5fa73bf711ff07800d";
};
propagatedBuildInputs = [
requests
isodate
docstring-parser
colorlog
websocket-client
];
# Tests try to access the network.
doCheck = false;
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "chat_downloader" ];
meta = with lib; {
description = "A simple tool used to retrieve chat messages from livestreams, videos, clips and past broadcasts";
homepage = "https://github.com/xenova/chat-downloader";
changelog = "https://github.com/xenova/chat-downloader/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ marsam ];
};
}