Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 43 lines 754 B view raw
1{ 2 stdenv, 3 lib, 4 fetchFromGitLab, 5 meson, 6 ninja, 7 pkg-config, 8 obs-studio, 9 libGL, 10 libX11, 11}: 12 13stdenv.mkDerivation rec { 14 pname = "obs-nvfbc"; 15 version = "0.0.7"; 16 17 src = fetchFromGitLab { 18 owner = "fzwoch"; 19 repo = "obs-nvfbc"; 20 rev = "v${version}"; 21 hash = "sha256-AJ3K0O1vrixskn+/Tpg7LsgRO8N4sgDo1Y6gg3CwGVo="; 22 }; 23 24 nativeBuildInputs = [ 25 meson 26 pkg-config 27 ninja 28 ]; 29 buildInputs = [ 30 obs-studio 31 libGL 32 libX11 33 ]; 34 35 meta = with lib; { 36 description = "OBS Studio source plugin for NVIDIA FBC API"; 37 homepage = "https://gitlab.com/fzwoch/obs-nvfbc"; 38 license = licenses.gpl2Only; 39 maintainers = with maintainers; [ babbaj ]; 40 platforms = [ "x86_64-linux" ]; 41 broken = true; 42 }; 43}