Merge pull request #124955 from tfc/ustreamer

This commit is contained in:
Sandro
2021-06-01 15:16:50 +02:00
committed by GitHub
3 changed files with 45 additions and 0 deletions
+6
View File
@@ -10025,6 +10025,12 @@
githubId = 27386;
name = "Milan Svoboda";
};
tfc = {
email = "jacek@galowicz.de";
github = "tfc";
githubId = 29044;
name = "Jacek Galowicz";
};
tg-x = {
email = "*@tg-x.net";
github = "tg-x";
@@ -0,0 +1,37 @@
{ lib, stdenv, fetchFromGitHub, libbsd, libevent, libjpeg }:
stdenv.mkDerivation rec {
pname = "ustreamer";
version = "3.27";
src = fetchFromGitHub {
owner = "pikvm";
repo = "ustreamer";
rev = "v${version}";
sha256 = "1max2171abdpix0wq7mdkji5lvkfzisj166qfgmqkkwc2nh721iw";
};
buildInputs = [ libbsd libevent libjpeg ];
enableParallelBuilding = true;
installPhase = ''
mkdir -p $out/bin
cp ustreamer $out/bin/
'';
meta = with lib; {
homepage = "https://github.com/pikvm/ustreamer";
description = "Lightweight and fast MJPG-HTTP streamer";
longDescription = ''
µStreamer is a lightweight and very quick server to stream MJPG video from
any V4L2 device to the net. All new browsers have native support of this
video format, as well as most video players such as mplayer, VLC etc.
µStreamer is a part of the Pi-KVM project designed to stream VGA and HDMI
screencast hardware data with the highest resolution and FPS possible.
'';
license = licenses.gpl3Plus;
maintainers = with maintainers; [ tfc ];
platforms = platforms.linux;
};
}
+2
View File
@@ -9369,6 +9369,8 @@ in
usbmuxd = callPackage ../tools/misc/usbmuxd {};
ustreamer = callPackage ../applications/video/ustreamer { };
usync = callPackage ../applications/misc/usync { };
uwc = callPackage ../tools/text/uwc { };