summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/misc/yle-dl
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2020-10-11 02:18:51 +0200
committerJonathan Ringer <jonringer@users.noreply.github.com>2020-10-28 13:47:13 -0700
commit3b4631d601887ee5c39ad91baa6797552f6048b9 (patch)
tree3e668516784ceab487b147a0ff91ab3f0b4fc0e7 /pkgs/tools/misc/yle-dl
parent3fce2724784984f07ec86b6f144399da2e21fa0f (diff)
yle-dl: 2.31 -> 20200807
Diffstat (limited to 'pkgs/tools/misc/yle-dl')
-rw-r--r--pkgs/tools/misc/yle-dl/default.nix18
1 files changed, 9 insertions, 9 deletions
diff --git a/pkgs/tools/misc/yle-dl/default.nix b/pkgs/tools/misc/yle-dl/default.nix
index 00624a482c8e..9c233e36f892 100644
--- a/pkgs/tools/misc/yle-dl/default.nix
+++ b/pkgs/tools/misc/yle-dl/default.nix
@@ -1,28 +1,28 @@
-{ 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 = "20200807";
src = fetchFromGitHub {
owner = "aajanki";
repo = "yle-dl";
rev = version;
- sha256 = "0k93p9csyjm0w33diwl5s22kzs3g78jl3n9k8nxxpqrybfjl912f";
+ sha256 = "0jiah6gfp75rc80kzha0cr51cxiy6n3wa9g3z8zgy2nhcf8m2vxq";
};
- 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;
+ license = licenses.gpl3Plus;
maintainers = [ maintainers.dezgeg ];
platforms = platforms.linux;
};