1{ stdenv
2, buildPythonPackage
3, fetchurl
4, isPyPy
5, livestreamer
6}:
7
8buildPythonPackage rec {
9 version = "1.5.2";
10 pname = "livestreamer-curses";
11 disabled = isPyPy;
12
13 src = fetchurl {
14 url = "https://github.com/gapato/livestreamer-curses/archive/v${version}.tar.gz";
15 sha256 = "1v49sym6mrci9dxy0a7cpbp4bv6fg2ijj6rwk4wzg18c2x4qzkhn";
16 };
17
18 propagatedBuildInputs = [ livestreamer ];
19
20 meta = with stdenv.lib; {
21 homepage = https://github.com/gapato/livestreamer-curses;
22 description = "Curses frontend for livestreamer";
23 license = licenses.mit;
24 };
25
26}