10 python3Packages.buildPythonApplication rec {
15 src = fetchFromGitHub {
18 rev = "refs/tags/${version}";
19 hash = "sha256-BIE3+SDmc5ggF9P+qeloI1JYYrEtOJQ/8oDR76i0t6c=";
27 python3Packages.setuptools
28 python3Packages.setuptools-scm
33 propagatedBuildInputs = with python3Packages; [
40 python3Packages.pytestCheckHook
44 # Requires network access
49 pythonImportsCheck = [
67 (lib.makeBinPath [ ffmpeg ])
71 scdoc < twitch-dl.1.scd > twitch-dl.1
72 installManPage twitch-dl.1
76 export HOME="$(mktemp -d)"
80 description = "CLI tool for downloading videos from Twitch";
81 homepage = "https://github.com/ihabunek/twitch-dl";
82 changelog = "https://github.com/ihabunek/twitch-dl/blob/${src.rev}/CHANGELOG.md";
83 license = licenses.gpl3Only;
84 maintainers = with maintainers; [
88 mainProgram = "twitch-dl";