12 buildPythonPackage rec {
14 pname = "livestreamer";
18 url = "https://github.com/chrippa/livestreamer/archive/v${version}.tar.gz";
19 sha256 = "1fp3d3z2grb1ls97smjkraazpxnvajda2d1g1378s6gzmda2jvjd";
22 nativeBuildInputs = [ pkgs.makeWrapper ];
24 propagatedBuildInputs = [ pkgs.rtmpdump pycrypto requests ]
25 ++ lib.optionals isPy27 [ singledispatch futures ];
28 wrapProgram $out/bin/livestreamer --prefix PATH : ${pkgs.rtmpdump}/bin
32 homepage = "http://livestreamer.tanuki.se";
34 Livestreamer is CLI program that extracts streams from various
35 services and pipes them into a video player of choice.
37 license = licenses.bsd2;
38 maintainers = with maintainers; [ ];