treewide: format
All checks were successful
Check flake / build-amd64-linux (push) Successful in 2m53s

This commit is contained in:
2025-01-19 11:13:04 +00:00
parent c3283314b7
commit ccb57f954e
77 changed files with 1487 additions and 808 deletions

View File

@ -1,23 +1,24 @@
{ stdenv
, fetchFromGitHub
{
stdenv,
fetchFromGitHub,
, cmake
, gnumake
, pkg-config
, xxd
cmake,
gnumake,
pkg-config,
xxd,
, v4l-utils
, nlohmann_json
, ffmpegSupport ? true
, ffmpeg
, libcameraSupport ? true
, libcamera
, rtspSupport ? false
, live555
, webrtcSupport ? false
, openssl
v4l-utils,
nlohmann_json,
ffmpegSupport ? true,
ffmpeg,
libcameraSupport ? true,
libcamera,
rtspSupport ? false,
live555,
webrtcSupport ? false,
openssl,
, lib
lib,
}:
stdenv.mkDerivation (finalAttrs: {
@ -60,7 +61,11 @@ stdenv.mkDerivation (finalAttrs: {
dontUseCmakeConfigure = true;
buildInputs = [ nlohmann_json v4l-utils ]
buildInputs =
[
nlohmann_json
v4l-utils
]
++ (lib.optional ffmpegSupport ffmpeg)
++ (lib.optional libcameraSupport libcamera)
++ (lib.optional rtspSupport live555)
@ -75,4 +80,3 @@ stdenv.mkDerivation (finalAttrs: {
license = licenses.gpl3Only;
};
})

View File

@ -1,17 +1,18 @@
{ stdenv
, fetchFromGitHub
, meson
, ninja
, pkg-config
, boost
, ffmpeg
, libcamera
, libdrm
, libexif
, libjpeg
, libpng
, libtiff
, lib
{
stdenv,
fetchFromGitHub,
meson,
ninja,
pkg-config,
boost,
ffmpeg,
libcamera,
libdrm,
libexif,
libjpeg,
libpng,
libtiff,
lib,
}:
stdenv.mkDerivation (finalAttrs: {
@ -55,4 +56,3 @@ stdenv.mkDerivation (finalAttrs: {
license = licenses.bsd2;
};
})