Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 60 lines 1.1 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 pkg-config, 6 libxcb, 7 cmake, 8 qtbase, 9 qtdeclarative, 10 wrapQtAppsHook, 11 qtsvg, 12 ffmpeg, 13 gst_all_1, 14 libpulseaudio, 15 alsa-lib, 16 jack2, 17 v4l-utils, 18}: 19 20stdenv.mkDerivation rec { 21 pname = "webcamoid"; 22 version = "9.3.0"; 23 24 src = fetchFromGitHub { 25 owner = "webcamoid"; 26 repo = "webcamoid"; 27 tag = version; 28 hash = "sha256-KU5iJqCGbqTZebP5yWb5VcxRGcRjQYQHn+GP6W57D9I="; 29 }; 30 31 buildInputs = [ 32 libxcb 33 qtbase 34 qtdeclarative 35 qtsvg 36 ffmpeg 37 gst_all_1.gstreamer 38 gst_all_1.gst-plugins-base 39 alsa-lib 40 libpulseaudio 41 jack2 42 v4l-utils 43 ]; 44 45 nativeBuildInputs = [ 46 pkg-config 47 cmake 48 wrapQtAppsHook 49 ]; 50 51 meta = { 52 description = "Webcam Capture Software"; 53 longDescription = "Webcamoid is a full featured and multiplatform webcam suite."; 54 homepage = "https://github.com/webcamoid/webcamoid/"; 55 license = with lib.licenses; [ gpl3Plus ]; 56 platforms = lib.platforms.linux; 57 maintainers = with lib.maintainers; [ robaca ]; 58 mainProgram = "webcamoid"; 59 }; 60}