pythonPackages.livestreamer: fix builds for py33 and py34
This commit is contained in:
parent
4970aa6f46
commit
1c3585e411
@ -7943,8 +7943,13 @@ let
|
|||||||
sha256 = "1fp3d3z2grb1ls97smjkraazpxnvajda2d1g1378s6gzmda2jvjd";
|
sha256 = "1fp3d3z2grb1ls97smjkraazpxnvajda2d1g1378s6gzmda2jvjd";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = with self; [ pkgs.makeWrapper ];
|
buildInputs = [ pkgs.makeWrapper ];
|
||||||
propagatedBuildInputs = with self; [ requests2 pkgs.rtmpdump pycrypto singledispatch futures ];
|
|
||||||
|
propagatedBuildInputs = with self; [ pkgs.rtmpdump pycrypto requests2 ]
|
||||||
|
++ optionals isPy26 [ singledispatch futures argparse ]
|
||||||
|
++ optionals isPy27 [ singledispatch futures ]
|
||||||
|
++ optionals isPy33 [ singledispatch ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/livestreamer --prefix PATH : ${pkgs.rtmpdump}/bin
|
wrapProgram $out/bin/livestreamer --prefix PATH : ${pkgs.rtmpdump}/bin
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user