depot/third_party/nixpkgs/pkgs/applications/misc/twitch-chat-downloader/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

40 lines
926 B
Nix

{ lib
, buildPythonApplication
, fetchFromGitHub
, iso8601
, progressbar2
, requests
}:
buildPythonApplication rec {
pname = "twitch-chat-downloader";
version = "2.5.4";
# 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 = fetchFromGitHub {
owner = "TheDrHax";
repo = "twitch-chat-downloader";
rev = version;
hash = "sha256-mV60ygrtQa9ZkJ2CImhAV59ckCJ7vJSA9cWkYE2xo1M=";
};
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; [ assistant ];
};
}