nixpkgs/pkgs/development/python-modules/livestreamer/default.nix
Mateusz Kowalczyk 1451a52a38 Remove myself (fuuzetsu) from maintainer lists
I haven't been doing any maintenance for a long time now and not only
do I get notified, it also creates a fake impression that all these
packages had at least one maintainer when in practice they had none.
2019-12-05 16:29:48 +09:00

44 lines
1,022 B
Nix

{ stdenv
, buildPythonPackage
, pkgs
, isPyPy
, pycrypto
, requests
, singledispatch
, futures
, isPy27
, isPy33
}:
buildPythonPackage rec {
version = "1.12.2";
pname = "livestreamer";
disabled = isPyPy;
src = pkgs.fetchurl {
url = "https://github.com/chrippa/livestreamer/archive/v${version}.tar.gz";
sha256 = "1fp3d3z2grb1ls97smjkraazpxnvajda2d1g1378s6gzmda2jvjd";
};
buildInputs = [ pkgs.makeWrapper ];
propagatedBuildInputs = [ pkgs.rtmpdump pycrypto requests ]
++ stdenv.lib.optionals isPy27 [ singledispatch futures ]
++ stdenv.lib.optionals isPy33 [ singledispatch ];
postInstall = ''
wrapProgram $out/bin/livestreamer --prefix PATH : ${pkgs.rtmpdump}/bin
'';
meta = with stdenv.lib; {
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 = licenses.bsd2;
maintainers = with maintainers; [ ];
};
}