yle-dl: 2.17 -> 2.20
This commit is contained in:
parent
19325558f1
commit
581637ba5a
|
@ -1,28 +1,18 @@
|
|||
{ stdenv, fetchFromGitHub, rtmpdump, php, pythonPackages }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pythonPackages.buildPythonApplication rec {
|
||||
name = "yle-dl-${version}";
|
||||
version = "2.17";
|
||||
version = "2.20";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aajanki";
|
||||
repo = "yle-dl";
|
||||
rev = version;
|
||||
sha256 = "06szrcm1xlz6i736qkxzhhvrzg63shxzy2bww91bgxfccmkapa14";
|
||||
sha256 = "06wzv230hfh3w9gs245kff8666bsfbax3ibr5zxj3h5z4qhhf9if";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace yle-dl --replace '/usr/local/share/' "$out/share/"
|
||||
'';
|
||||
|
||||
buildInputs = [ pythonPackages.wrapPython ];
|
||||
pythonPath = [ rtmpdump php ] ++ (with pythonPackages; [ pycrypto ]);
|
||||
|
||||
installPhase = ''
|
||||
make install prefix=$out
|
||||
wrapPythonPrograms
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Downloads videos from Yle (Finnish Broadcasting Company) servers";
|
||||
homepage = https://aajanki.github.io/yle-dl/;
|
||||
|
|
Loading…
Reference in New Issue