nixpkgs-suyu/pkgs/applications/video/ustreamer/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
1.1 KiB
Nix
Raw Normal View History

2021-05-30 12:26:09 +02:00
{ lib, stdenv, fetchFromGitHub, libbsd, libevent, libjpeg }:
stdenv.mkDerivation rec {
pname = "ustreamer";
2023-11-16 04:47:56 +01:00
version = "5.45";
2021-05-30 12:26:09 +02:00
src = fetchFromGitHub {
owner = "pikvm";
repo = "ustreamer";
rev = "v${version}";
2023-11-16 04:47:56 +01:00
hash = "sha256-2WJXOv15oZRk2doecd+xOURygbX4oGyeMAJiiuiRBi4=";
2021-05-30 12:26:09 +02:00
};
buildInputs = [ libbsd libevent libjpeg ];
makeFlags = [ "PREFIX=${placeholder "out"}" ];
2021-05-30 12:26:09 +02:00
enableParallelBuilding = true;
2021-05-30 12:26:09 +02:00
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;
};
}