pythonPackages.livestreamer: fix builds for py33 and py34

This commit is contained in:
Rok Garbas 2015-06-10 23:50:01 +02:00
parent 4970aa6f46
commit 1c3585e411

@ -7943,8 +7943,13 @@ let
sha256 = "1fp3d3z2grb1ls97smjkraazpxnvajda2d1g1378s6gzmda2jvjd";
};
buildInputs = with self; [ pkgs.makeWrapper ];
propagatedBuildInputs = with self; [ requests2 pkgs.rtmpdump pycrypto singledispatch futures ];
buildInputs = [ pkgs.makeWrapper ];
propagatedBuildInputs = with self; [ pkgs.rtmpdump pycrypto requests2 ]
++ optionals isPy26 [ singledispatch futures argparse ]
++ optionals isPy27 [ singledispatch futures ]
++ optionals isPy33 [ singledispatch ];
postInstall = ''
wrapProgram $out/bin/livestreamer --prefix PATH : ${pkgs.rtmpdump}/bin
'';