Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at domenkozar-patch-1 44 lines 990 B view raw
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.3"; 15 format = "setuptools"; 16 17 src = fetchPypi { 18 inherit version pname; 19 sha256 = "e19f961480b14b55d03d4d4aaa766d46131bdf2ea8a79b47d20037dfd980201a"; 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 checkInputs = [ 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}