From 7d32169b73f6ba65aab223b315c4cdeda12e6566 Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Fri, 3 Nov 2017 20:01:28 +0200 Subject: [PATCH] yle-dl: 2.20 -> 2.27 --- pkgs/tools/misc/yle-dl/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/yle-dl/default.nix b/pkgs/tools/misc/yle-dl/default.nix index 7fc9589537f..b7c9466f225 100644 --- a/pkgs/tools/misc/yle-dl/default.nix +++ b/pkgs/tools/misc/yle-dl/default.nix @@ -2,16 +2,20 @@ pythonPackages.buildPythonApplication rec { name = "yle-dl-${version}"; - version = "2.20"; + version = "2.27"; src = fetchFromGitHub { owner = "aajanki"; repo = "yle-dl"; rev = version; - sha256 = "06wzv230hfh3w9gs245kff8666bsfbax3ibr5zxj3h5z4qhhf9if"; + sha256 = "1wxl074vxy7dlnk3ykcgnk3ms7bwh0zs7b9pxwhx5hsd894c8fpg"; }; - pythonPath = [ rtmpdump php ] ++ (with pythonPackages; [ pycrypto ]); + propagatedBuildInputs = with pythonPackages; [ lxml pyamf pycrypto requests ]; + pythonPath = [ rtmpdump php ]; + + doCheck = false; # tests require network access + checkInputs = with pythonPackages; [ pytest pytestrunner ]; meta = with stdenv.lib; { description = "Downloads videos from Yle (Finnish Broadcasting Company) servers";