about summary refs log tree commit diff
path: root/pkgs/applications/video/ustreamer
diff options
context:
space:
mode:
authorJacek Galowicz <jacek@galowicz.de>2021-05-30 10:26:09 +0000
committerJacek Galowicz <jacek@galowicz.de>2021-06-01 11:29:56 +0200
commitacf2a84d49f0e1da442be78864ac85f2b29328f9 (patch)
tree55103531a068b20065c519d90ede8c09b1ef813d /pkgs/applications/video/ustreamer
parentd80b17d530badbd7792ad6dcfc5e4584211e3a97 (diff)
ustreamer: init 3.27
Diffstat (limited to 'pkgs/applications/video/ustreamer')
-rw-r--r--pkgs/applications/video/ustreamer/default.nix37
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/applications/video/ustreamer/default.nix b/pkgs/applications/video/ustreamer/default.nix
new file mode 100644
index 0000000000000..933747f398976
--- /dev/null
+++ b/pkgs/applications/video/ustreamer/default.nix
@@ -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;
+  };
+}