twitch-chat-downloader: init at 3.2.1
This commit is contained in:
parent
e8001bd5f3
commit
04562bfeba
36
pkgs/applications/misc/twitch-chat-downloader/default.nix
Normal file
36
pkgs/applications/misc/twitch-chat-downloader/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonApplication
|
||||||
|
, fetchPypi
|
||||||
|
, requests
|
||||||
|
, twitch-python
|
||||||
|
, pytz
|
||||||
|
, python-dateutil
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonApplication rec {
|
||||||
|
pname = "twitch-chat-downloader";
|
||||||
|
version = "3.2.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit version;
|
||||||
|
pname = "tcd";
|
||||||
|
sha256 = "f9b5ea2ad3badb7deffdd9604368ccb54170cd7929efbaa2d7b534e089ae6338";
|
||||||
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py --replace "'pipenv>=2020.5.28'," ""
|
||||||
|
'';
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ requests twitch-python pytz python-dateutil ];
|
||||||
|
|
||||||
|
doCheck = false; # no tests
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "tcd" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Twitch Chat Downloader";
|
||||||
|
homepage = "https://github.com/PetterKraabol/Twitch-Chat-Downloader";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ marsam ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -8508,6 +8508,8 @@ in
|
||||||
libX11 = xorg.libX11;
|
libX11 = xorg.libX11;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
twitch-chat-downloader = python3Packages.callPackage ../applications/misc/twitch-chat-downloader { };
|
||||||
|
|
||||||
twitterBootstrap = callPackage ../development/web/twitter-bootstrap {};
|
twitterBootstrap = callPackage ../development/web/twitter-bootstrap {};
|
||||||
|
|
||||||
twtxt = callPackage ../applications/networking/twtxt { };
|
twtxt = callPackage ../applications/networking/twtxt { };
|
||||||
|
|
Loading…
Reference in a new issue