blob: a602c31008ded771cf76a45cd8d1fafbdb5b339c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{ lib
, buildPythonApplication
, fetchPypi
, iso8601
, progressbar2
, requests
}:
buildPythonApplication rec {
pname = "twitch-chat-downloader";
version = "2.5.3";
# 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
src = fetchPypi {
inherit version;
pname = "tdh-tcd";
sha256 = "sha256-dvj0HoF/2n5aQGMOD8UYY4EZegQwThPy1XJFvXyRT4Q=";
};
propagatedBuildInputs = [
iso8601
progressbar2
requests
];
doCheck = false; # no tests
pythonImportsCheck = [ "tcd" ];
meta = with lib; {
description = "Twitch Chat Downloader";
mainProgram = "tcd";
homepage = "https://github.com/TheDrHax/Twitch-Chat-Downloader";
license = licenses.mit;
maintainers = with maintainers; [ marsam ];
};
}
|