treewide: format
All checks were successful
Check flake / build-amd64-linux (push) Successful in 2m53s
All checks were successful
Check flake / build-amd64-linux (push) Successful in 2m53s
This commit is contained in:
@ -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;
|
||||
};
|
||||
})
|
||||
|
||||
|
@ -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;
|
||||
};
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user