2021-02-10 04:20:00 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonApplication
|
|
|
|
, fetchPypi
|
2023-05-27 04:20:00 +00:00
|
|
|
, iso8601
|
|
|
|
, progressbar2
|
2021-02-10 04:20:00 +00:00
|
|
|
, requests
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "twitch-chat-downloader";
|
2023-05-27 04:20:00 +00:00
|
|
|
version = "2.5.3";
|
2021-02-10 04:20:00 +00:00
|
|
|
|
2023-05-27 04:20:00 +00:00
|
|
|
# NOTE: Using maintained fork because upstream has stopped working, and it has
|
|
|
|
# not been updated in a while.
|
|
|
|
# https://github.com/PetterKraabol/Twitch-Chat-Downloader/issues/142
|
2021-02-10 04:20:00 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit version;
|
2023-05-27 04:20:00 +00:00
|
|
|
pname = "tdh-tcd";
|
|
|
|
sha256 = "sha256-dvj0HoF/2n5aQGMOD8UYY4EZegQwThPy1XJFvXyRT4Q=";
|
2021-02-10 04:20:00 +00:00
|
|
|
};
|
|
|
|
|
2023-05-27 04:20:00 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
iso8601
|
|
|
|
progressbar2
|
|
|
|
requests
|
|
|
|
];
|
2021-02-10 04:20:00 +00:00
|
|
|
|
|
|
|
doCheck = false; # no tests
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "tcd" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Twitch Chat Downloader";
|
2023-05-27 04:20:00 +00:00
|
|
|
homepage = "https://github.com/TheDrHax/Twitch-Chat-Downloader";
|
2021-02-10 04:20:00 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ marsam ];
|
|
|
|
};
|
|
|
|
}
|