me like nix
0

Configure Feed

Select the types of activity you want to include in your feed.

at main 1.1 kB View raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 meson, 6 ninja, 7 pkg-config, 8 libcamera-rpi, # Custom libcamera with Pi support 9 libdrm, 10 libexif, 11 libjpeg, 12 libpng, 13 libtiff, 14 boost, 15 ffmpeg, 16}: 17 18stdenv.mkDerivation rec { 19 pname = "rpicam-apps"; 20 version = "1.5.3"; 21 22 src = fetchFromGitHub { 23 owner = "raspberrypi"; 24 repo = "rpicam-apps"; 25 rev = "v${version}"; 26 hash = "sha256-0000000000000000000000000000000000000000000="; # Placeholder - will be updated on first build 27 }; 28 29 nativeBuildInputs = [ 30 meson 31 ninja 32 pkg-config 33 ]; 34 35 buildInputs = [ 36 libcamera-rpi 37 libdrm 38 libexif 39 libjpeg 40 libpng 41 libtiff 42 boost 43 ffmpeg 44 ]; 45 46 mesonFlags = [ 47 "-Denable_libav=enabled" 48 "-Denable_drm=enabled" 49 "-Denable_egl=disabled" 50 "-Denable_qt=disabled" 51 "-Denable_opencv=disabled" 52 "-Denable_tflite=disabled" 53 ]; 54 55 meta = with lib; { 56 description = "Raspberry Pi camera applications"; 57 homepage = "https://github.com/raspberrypi/rpicam-apps"; 58 license = licenses.bsd2; 59 platforms = [ "aarch64-linux" ]; 60 }; 61}