Loading pkgs/applications/video/obs-studio/plugins/obs-source-record.nix +14 −4 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, cmake, obs-studio }: { lib, stdenv, fetchFromGitHub, fetchpatch, cmake, obs-studio }: stdenv.mkDerivation rec { pname = "obs-source-record"; version = "unstable-2022-11-10"; version = "0.3.2"; src = fetchFromGitHub { owner = "exeldro"; repo = "obs-source-record"; rev = "4a543d3577d56a27f5f2b9aa541a466b37dafde0"; sha256 = "sha256-LoMgrWZ7r6lu2fisNvqrAiFvxWQQDE6lSxUHkMB/ZPY="; rev = version; sha256 = "sha256-H65uQ9HnKmHs52v3spG92ayeYH/TvmwcMoePMmBMqN8="; }; patches = [ # fix obs 29.1 compatibility (fetchpatch { url = "https://patch-diff.githubusercontent.com/raw/exeldro/obs-source-record/pull/83.diff"; hash = "sha256-eWOjHHfoXZeoPtqvVyexSi/UQqHm8nu4FEEjma64Ly4="; }) ]; nativeBuildInputs = [ cmake ]; buildInputs = [ obs-studio ]; NIX_CFLAGS_COMPILE = [ "-Wno-error=deprecated-declarations" ]; cmakeFlags = [ "-DBUILD_OUT_OF_TREE=On" ]; Loading Loading
pkgs/applications/video/obs-studio/plugins/obs-source-record.nix +14 −4 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, cmake, obs-studio }: { lib, stdenv, fetchFromGitHub, fetchpatch, cmake, obs-studio }: stdenv.mkDerivation rec { pname = "obs-source-record"; version = "unstable-2022-11-10"; version = "0.3.2"; src = fetchFromGitHub { owner = "exeldro"; repo = "obs-source-record"; rev = "4a543d3577d56a27f5f2b9aa541a466b37dafde0"; sha256 = "sha256-LoMgrWZ7r6lu2fisNvqrAiFvxWQQDE6lSxUHkMB/ZPY="; rev = version; sha256 = "sha256-H65uQ9HnKmHs52v3spG92ayeYH/TvmwcMoePMmBMqN8="; }; patches = [ # fix obs 29.1 compatibility (fetchpatch { url = "https://patch-diff.githubusercontent.com/raw/exeldro/obs-source-record/pull/83.diff"; hash = "sha256-eWOjHHfoXZeoPtqvVyexSi/UQqHm8nu4FEEjma64Ly4="; }) ]; nativeBuildInputs = [ cmake ]; buildInputs = [ obs-studio ]; NIX_CFLAGS_COMPILE = [ "-Wno-error=deprecated-declarations" ]; cmakeFlags = [ "-DBUILD_OUT_OF_TREE=On" ]; Loading