3
0
Fork 0
forked from mirrors/nixpkgs

svtplay-dl: 1.9.11 -> 2.1

This commit is contained in:
Robert Helgesson 2018-11-05 00:08:46 +01:00
parent 1d077e6286
commit 69522a0acf
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -1,22 +1,22 @@
{ stdenv, fetchFromGitHub, makeWrapper, python3Packages, perl, zip
, rtmpdump }:
, rtmpdump, gitMinimal }:
let
inherit (python3Packages) python nose pycrypto requests mock;
inherit (python3Packages) python nose pycrypto pyyaml requests mock;
in stdenv.mkDerivation rec {
name = "svtplay-dl-${version}";
version = "1.9.11";
version = "2.1";
src = fetchFromGitHub {
owner = "spaam";
repo = "svtplay-dl";
rev = version;
sha256 = "14p2362rzyblma9321z4zrcbzfs9m269ry6sz44ly0bv5fik7gdy";
sha256 = "1cnc32gbhs955391hs1x1jpjsl3b6pqy7ysdydmp9q1i2rw105ln";
};
pythonPaths = [ pycrypto requests ];
pythonPaths = [ pycrypto pyyaml requests ];
buildInputs = [ python perl nose mock rtmpdump makeWrapper ] ++ pythonPaths;
nativeBuildInputs = [ zip ];
nativeBuildInputs = [ gitMinimal zip ];
postPatch = ''
substituteInPlace lib/svtplay_dl/fetcher/rtmp.py \