From d80b17d530badbd7792ad6dcfc5e4584211e3a97 Mon Sep 17 00:00:00 2001 From: Jacek Galowicz Date: Sun, 30 May 2021 10:25:30 +0000 Subject: [PATCH 1/2] maintainers: init tfc --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index bb992d90509f..36738748f292 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -10013,6 +10013,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"; From acf2a84d49f0e1da442be78864ac85f2b29328f9 Mon Sep 17 00:00:00 2001 From: Jacek Galowicz Date: Sun, 30 May 2021 10:26:09 +0000 Subject: [PATCH 2/2] ustreamer: init 3.27 --- pkgs/applications/video/ustreamer/default.nix | 37 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 39 insertions(+) create mode 100644 pkgs/applications/video/ustreamer/default.nix diff --git a/pkgs/applications/video/ustreamer/default.nix b/pkgs/applications/video/ustreamer/default.nix new file mode 100644 index 000000000000..933747f39897 --- /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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5f060afa922b..9ad89fc4809d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9361,6 +9361,8 @@ in usbmuxd = callPackage ../tools/misc/usbmuxd {}; + ustreamer = callPackage ../applications/video/ustreamer { }; + usync = callPackage ../applications/misc/usync { }; uwc = callPackage ../tools/text/uwc { };