
gebner has been an amazing maintainer, but appears to have moved on: the last commit on nixpkgs appears to have been in Feb 2023, and they have not been responding to pings (e.g. https://github.com/NixOS/nixpkgs/issues/347764). They also approved https://github.com/NixOS/nixpkgs/pull/337292 before, but that PR had some additional changes and was closed without merging. This PR is in no way intended to diminuish Gabriel's accomplishments, and they're welcome to just say so if they'd prefer this PR not to be merged. Also, even if it's merged, of course they're always welcome to return to activity and be added back. The intent of this PR is to give more realistic expectations around the maintainership of these packages, and to invite others to step up for maintainership if they rely on those packages. This seems in line with https://github.com/NixOS/nixpkgs/tree/master/maintainers#how-to-lose-maintainer-status
40 lines
1.0 KiB
Nix
40 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
libjpeg,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "mjpg-streamer";
|
|
version = "unstable-2019-05-24";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jacksonliam";
|
|
repo = "mjpg-streamer";
|
|
rev = "501f6362c5afddcfb41055f97ae484252c85c912";
|
|
sha256 = "1cl159svfs1zzzrd3zgn4x7qy6751bvlnxfwf5hn5fmg4iszajw7";
|
|
};
|
|
|
|
prePatch = ''
|
|
cd mjpg-streamer-experimental
|
|
'';
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ libjpeg ];
|
|
|
|
postFixup = ''
|
|
patchelf --set-rpath "$(patchelf --print-rpath $out/bin/mjpg_streamer):$out/lib/mjpg-streamer" $out/bin/mjpg_streamer
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/jacksonliam/mjpg-streamer";
|
|
description = "Takes JPGs from Linux-UVC compatible webcams, filesystem or other input plugins and streams them as M-JPEG via HTTP to webbrowsers, VLC and other software";
|
|
platforms = platforms.linux;
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ ];
|
|
mainProgram = "mjpg_streamer";
|
|
};
|
|
}
|