From 9cb0a79538795f07de305d8279da9c005e90d9a8 Mon Sep 17 00:00:00 2001 From: Mateusz Kowalczyk Date: Mon, 28 Apr 2014 09:24:21 +0000 Subject: [PATCH] livestreamer: version 1.8.0 A test fails with Python 3.4 so we ignore that one. --- pkgs/top-level/python-packages.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index ba305e961e0..01c4f826f5e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4522,6 +4522,30 @@ rec { }; }; + livestreamer = if isPy34 then null else (buildPythonPackage { + #version = "1.8.0"; + name = "livestreamer-1.8.0"; + + src = fetchurl { + url = "https://github.com/chrippa/livestreamer/archive/v1.8.0.tar.gz"; + sha256 = "0fzpznbnhzrqawxdljvyml5251wbr3nifdrvnmh2b8vz356js4l8"; + }; + + buildInputs = [ pkgs.makeWrapper ]; + propagatedBuildInputs = [ requests ]; + postInstall = '' + wrapProgram $out/bin/livestreamer --prefix PATH : ${pkgs.rtmpdump}/bin + ''; + + meta = { + homepage = http://livestreamer.tanuki.se; + description = '' + Livestreamer is CLI program that extracts streams from various + services and pipes them into a video player of choice. + ''; + license = "bsd"; + }; + }); oauth2 = buildPythonPackage (rec { name = "oauth2-1.5.211";