Mario Rodas 2 years ago
parent b610a3cf3f
commit 77f93e23c7
  1. 12
      pkgs/applications/misc/twitch-chat-downloader/default.nix

@ -9,16 +9,22 @@
buildPythonApplication rec {
pname = "twitch-chat-downloader";
version = "3.2.1";
version = "3.2.2";
src = fetchPypi {
inherit version;
pname = "tcd";
sha256 = "f9b5ea2ad3badb7deffdd9604368ccb54170cd7929efbaa2d7b534e089ae6338";
sha256 = "ee6a8e22c54ccfd29988554b13fe56b2a1bf524e110fa421d77e27baa8dcaa19";
};
postPatch = ''
substituteInPlace setup.py --replace "'pipenv>=2020.5.28'," ""
substituteInPlace setup.py \
--replace "'pipenv==2022.4.30'," "" \
--replace "setuptools==62.1." "setuptools" \
--replace "requests==2.27.1" "requests" \
--replace "twitch-python==0.0.20" "twitch-python" \
--replace "pytz==2022.1" "pytz" \
--replace "python-dateutil==2.8.2" "python-dateutil"
'';
propagatedBuildInputs = [ requests twitch-python pytz python-dateutil ];

Loading…
Cancel
Save