obs-studio-plugins.obs-source-record: 2022-11-10 -> 0.3.2

+14 -4
+14 -4
pkgs/applications/video/obs-studio/plugins/obs-source-record.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, obs-studio }: 1 + { lib, stdenv, fetchFromGitHub, fetchpatch, cmake, obs-studio }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "obs-source-record"; 5 - version = "unstable-2022-11-10"; 5 + version = "0.3.2"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "exeldro"; 9 9 repo = "obs-source-record"; 10 - rev = "4a543d3577d56a27f5f2b9aa541a466b37dafde0"; 11 - sha256 = "sha256-LoMgrWZ7r6lu2fisNvqrAiFvxWQQDE6lSxUHkMB/ZPY="; 10 + rev = version; 11 + sha256 = "sha256-H65uQ9HnKmHs52v3spG92ayeYH/TvmwcMoePMmBMqN8="; 12 12 }; 13 13 14 + patches = [ 15 + # fix obs 29.1 compatibility 16 + (fetchpatch { 17 + url = "https://patch-diff.githubusercontent.com/raw/exeldro/obs-source-record/pull/83.diff"; 18 + hash = "sha256-eWOjHHfoXZeoPtqvVyexSi/UQqHm8nu4FEEjma64Ly4="; 19 + }) 20 + ]; 21 + 14 22 nativeBuildInputs = [ cmake ]; 15 23 buildInputs = [ 16 24 obs-studio 17 25 ]; 26 + 27 + NIX_CFLAGS_COMPILE = [ "-Wno-error=deprecated-declarations" ]; 18 28 19 29 cmakeFlags = [ 20 30 "-DBUILD_OUT_OF_TREE=On"