Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 41 lines 821 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6 obs-studio, 7}: 8 9stdenv.mkDerivation rec { 10 pname = "obs-gradient-source"; 11 version = "0.3.2"; 12 13 src = fetchFromGitHub { 14 owner = "exeldro"; 15 repo = "obs-gradient-source"; 16 rev = version; 17 sha256 = "sha256-5pll84UZYOTESrid2UuC1aWlaLrWf1LpXqlV09XKLug="; 18 }; 19 20 nativeBuildInputs = [ cmake ]; 21 buildInputs = [ obs-studio ]; 22 23 cmakeFlags = [ 24 "-DBUILD_OUT_OF_TREE=On" 25 ]; 26 27 postInstall = '' 28 rm -rf $out/obs-plugins $out/data 29 ''; 30 31 meta = with lib; { 32 description = "Plugin for adding a gradient Source to OBS Studio"; 33 homepage = "https://github.com/exeldro/obs-gradient-source"; 34 maintainers = with maintainers; [ flexiondotorg ]; 35 license = licenses.gpl2Plus; 36 platforms = [ 37 "x86_64-linux" 38 "i686-linux" 39 ]; 40 }; 41}