Loading pkgs/applications/video/obs-studio/plugins/obs-backgroundremoval/default.nix +13 −17 Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ fetchFromGitHub, cmake, ninja, pkg-config, obs-studio, onnxruntime, opencv, Loading @@ -13,19 +14,21 @@ stdenv.mkDerivation rec { pname = "obs-backgroundremoval"; version = "1.1.13"; version = "1.3.7"; src = fetchFromGitHub { owner = "occ-ai"; repo = "obs-backgroundremoval"; rev = version; hash = "sha256-QoC9/HkwOXMoFNvcOxQkGCLLAJmsja801LKCNT9O9T0="; tag = version; hash = "sha256-bl0KixfBnBeyidZ4+RJhX4TDy33l9awo0wISMr7XUwk="; }; nativeBuildInputs = [ cmake ninja pkg-config ]; buildInputs = [ obs-studio onnxruntime Loading @@ -37,26 +40,19 @@ stdenv.mkDerivation rec { dontWrapQtApps = true; cmakeFlags = [ "--preset linux-x86_64" "-DCMAKE_MODULE_PATH:PATH=${src}/cmake" "-DUSE_SYSTEM_ONNXRUNTIME=ON" "-DUSE_SYSTEM_OPENCV=ON" "-DDISABLE_ONNXRUNTIME_GPU=ON" "-DENABLE_FRONTEND_API=OFF" "-DENABLE_QT=OFF" ]; buildPhase = '' cd .. cmake --build build_x86_64 --parallel ''; installPhase = '' cmake --install build_x86_64 --prefix "$out" ''; meta = { description = "OBS plugin to replace the background in portrait images and video"; homepage = "https://github.com/royshil/obs-backgroundremoval"; maintainers = with lib.maintainers; [ zahrun ]; homepage = "https://github.com/occ-ai/obs-backgroundremoval"; maintainers = with lib.maintainers; [ randomizedcoder zahrun ]; license = lib.licenses.mit; inherit (obs-studio.meta) platforms; }; Loading Loading
pkgs/applications/video/obs-studio/plugins/obs-backgroundremoval/default.nix +13 −17 Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ fetchFromGitHub, cmake, ninja, pkg-config, obs-studio, onnxruntime, opencv, Loading @@ -13,19 +14,21 @@ stdenv.mkDerivation rec { pname = "obs-backgroundremoval"; version = "1.1.13"; version = "1.3.7"; src = fetchFromGitHub { owner = "occ-ai"; repo = "obs-backgroundremoval"; rev = version; hash = "sha256-QoC9/HkwOXMoFNvcOxQkGCLLAJmsja801LKCNT9O9T0="; tag = version; hash = "sha256-bl0KixfBnBeyidZ4+RJhX4TDy33l9awo0wISMr7XUwk="; }; nativeBuildInputs = [ cmake ninja pkg-config ]; buildInputs = [ obs-studio onnxruntime Loading @@ -37,26 +40,19 @@ stdenv.mkDerivation rec { dontWrapQtApps = true; cmakeFlags = [ "--preset linux-x86_64" "-DCMAKE_MODULE_PATH:PATH=${src}/cmake" "-DUSE_SYSTEM_ONNXRUNTIME=ON" "-DUSE_SYSTEM_OPENCV=ON" "-DDISABLE_ONNXRUNTIME_GPU=ON" "-DENABLE_FRONTEND_API=OFF" "-DENABLE_QT=OFF" ]; buildPhase = '' cd .. cmake --build build_x86_64 --parallel ''; installPhase = '' cmake --install build_x86_64 --prefix "$out" ''; meta = { description = "OBS plugin to replace the background in portrait images and video"; homepage = "https://github.com/royshil/obs-backgroundremoval"; maintainers = with lib.maintainers; [ zahrun ]; homepage = "https://github.com/occ-ai/obs-backgroundremoval"; maintainers = with lib.maintainers; [ randomizedcoder zahrun ]; license = lib.licenses.mit; inherit (obs-studio.meta) platforms; }; Loading