diff options
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/tools/misc/yle-dl/default.nix')
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/tools/misc/yle-dl/default.nix | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/tools/misc/yle-dl/default.nix b/infra/libkookie/nixpkgs/pkgs/tools/misc/yle-dl/default.nix index 00624a482c8e..40bf214f4630 100644 --- a/infra/libkookie/nixpkgs/pkgs/tools/misc/yle-dl/default.nix +++ b/infra/libkookie/nixpkgs/pkgs/tools/misc/yle-dl/default.nix @@ -1,29 +1,29 @@ -{ stdenv, fetchFromGitHub, rtmpdump, php, pythonPackages, ffmpeg_3 }: +{ stdenv, fetchFromGitHub, rtmpdump, php, wget, python3Packages, ffmpeg_3 }: -pythonPackages.buildPythonApplication rec { +python3Packages.buildPythonApplication rec { pname = "yle-dl"; - version = "2.31"; + version = "20201022"; src = fetchFromGitHub { owner = "aajanki"; repo = "yle-dl"; rev = version; - sha256 = "0k93p9csyjm0w33diwl5s22kzs3g78jl3n9k8nxxpqrybfjl912f"; + sha256 = "0p56pb3wxdzqgs4fsh4hn06xs0mgzgznqqr0bn2vkkkibnkr1asp"; }; - propagatedBuildInputs = with pythonPackages; [ - lxml pyamf pycrypto requests future ffmpeg_3 setuptools + propagatedBuildInputs = with python3Packages; [ + attrs ConfigArgParse ffmpeg_3 future lxml requests ]; - pythonPath = [ rtmpdump php ]; + pythonPath = [ rtmpdump php wget ]; doCheck = false; # tests require network access - checkInputs = with pythonPackages; [ pytest pytestrunner ]; + checkInputs = with python3Packages; [ ffmpeg_3 pytest pytestrunner ]; meta = with stdenv.lib; { description = "Downloads videos from Yle (Finnish Broadcasting Company) servers"; homepage = "https://aajanki.github.io/yle-dl/"; - license = licenses.gpl3; - maintainers = [ maintainers.dezgeg ]; - platforms = platforms.linux; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ dezgeg SuperSandro2000 ]; + platforms = platforms.unix; }; } |