svtplay-dl: 1.9.11 -> 2.1
This commit is contained in:
parent
1d077e6286
commit
69522a0acf
@ -1,22 +1,22 @@
|
|||||||
{ stdenv, fetchFromGitHub, makeWrapper, python3Packages, perl, zip
|
{ stdenv, fetchFromGitHub, makeWrapper, python3Packages, perl, zip
|
||||||
, rtmpdump }:
|
, rtmpdump, gitMinimal }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (python3Packages) python nose pycrypto requests mock;
|
inherit (python3Packages) python nose pycrypto pyyaml requests mock;
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "svtplay-dl-${version}";
|
name = "svtplay-dl-${version}";
|
||||||
version = "1.9.11";
|
version = "2.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "spaam";
|
owner = "spaam";
|
||||||
repo = "svtplay-dl";
|
repo = "svtplay-dl";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "14p2362rzyblma9321z4zrcbzfs9m269ry6sz44ly0bv5fik7gdy";
|
sha256 = "1cnc32gbhs955391hs1x1jpjsl3b6pqy7ysdydmp9q1i2rw105ln";
|
||||||
};
|
};
|
||||||
|
|
||||||
pythonPaths = [ pycrypto requests ];
|
pythonPaths = [ pycrypto pyyaml requests ];
|
||||||
buildInputs = [ python perl nose mock rtmpdump makeWrapper ] ++ pythonPaths;
|
buildInputs = [ python perl nose mock rtmpdump makeWrapper ] ++ pythonPaths;
|
||||||
nativeBuildInputs = [ zip ];
|
nativeBuildInputs = [ gitMinimal zip ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace lib/svtplay_dl/fetcher/rtmp.py \
|
substituteInPlace lib/svtplay_dl/fetcher/rtmp.py \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user