nixpkgs/pkgs/applications/video/kodi/addons/inputstream-rtmp/default.nix
2024-04-16 09:52:09 -04:00

25 lines
659 B
Nix

{ lib, rel, buildKodiBinaryAddon, fetchFromGitHub, openssl, rtmpdump, zlib }:
buildKodiBinaryAddon rec {
pname = "inputstream-rtmp";
namespace = "inputstream.rtmp";
version = "21.1.0";
src = fetchFromGitHub {
owner = "xbmc";
repo = "inputstream.rtmp";
rev = "${version}-${rel}";
sha256 = "sha256-M6LFokWQRzBZ7inzRsMxyWzkV0XsGHh4d0CPhv1NCfI=";
};
extraBuildInputs = [ openssl rtmpdump zlib ];
meta = with lib; {
homepage = "https://github.com/xbmc/inputstream.rtmp/";
description = "Client for RTMP streams";
platforms = platforms.all;
license = licenses.gpl2Plus;
maintainers = teams.kodi.members;
};
}