Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, requests 5, isodate 6, docstring-parser 7, colorlog 8, websocket-client 9, pytestCheckHook 10}: 11 12buildPythonPackage rec { 13 pname = "chat-downloader"; 14 version = "0.2.7"; 15 format = "setuptools"; 16 17 src = fetchPypi { 18 inherit version pname; 19 hash = "sha256-FKdeuw4MEy1ZNeOCYllYxxFBUj2/fy0r/pxJv8FpOso="; 20 }; 21 22 propagatedBuildInputs = [ 23 requests 24 isodate 25 docstring-parser 26 colorlog 27 websocket-client 28 ]; 29 30 # Tests try to access the network. 31 doCheck = false; 32 33 nativeCheckInputs = [ pytestCheckHook ]; 34 35 pythonImportsCheck = [ "chat_downloader" ]; 36 37 meta = with lib; { 38 description = "A simple tool used to retrieve chat messages from livestreams, videos, clips and past broadcasts"; 39 homepage = "https://github.com/xenova/chat-downloader"; 40 changelog = "https://github.com/xenova/chat-downloader/releases/tag/v${version}"; 41 license = licenses.mit; 42 maintainers = with maintainers; [ marsam ]; 43 }; 44}