Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 36 lines 678 B view raw
1{ 2 lib, 3 rel, 4 buildKodiBinaryAddon, 5 fetchFromGitHub, 6 openssl, 7 rtmpdump, 8 zlib, 9}: 10 11buildKodiBinaryAddon rec { 12 pname = "inputstream-rtmp"; 13 namespace = "inputstream.rtmp"; 14 version = "21.1.2"; 15 16 src = fetchFromGitHub { 17 owner = "xbmc"; 18 repo = "inputstream.rtmp"; 19 rev = "${version}-${rel}"; 20 sha256 = "sha256-AkpRbYOe30dWDcflCGXxJz8Y+9bQw9ZmZF88ra2c+fc="; 21 }; 22 23 extraBuildInputs = [ 24 openssl 25 rtmpdump 26 zlib 27 ]; 28 29 meta = with lib; { 30 homepage = "https://github.com/xbmc/inputstream.rtmp/"; 31 description = "Client for RTMP streams"; 32 platforms = platforms.all; 33 license = licenses.gpl2Plus; 34 teams = [ teams.kodi ]; 35 }; 36}