Skip to content

Commit

Permalink
1.1.12
Browse files Browse the repository at this point in the history
  • Loading branch information
Zahrun committed Mar 18, 2024
1 parent 633db1a commit e232059
Showing 1 changed file with 2 additions and 16 deletions.
@@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, cmake
, ninja
, obs-studio
Expand All @@ -13,28 +12,15 @@

stdenv.mkDerivation rec {
pname = "obs-backgroundremoval";
version = "1.1.10";
version = "1.1.12";

src = fetchFromGitHub {
owner = "occ-ai";
repo = "obs-backgroundremoval";
rev = "${version}";
hash = "sha256-6OTtmjXS3fiorEPUSjjqrS8u9fVJnnZZoD722W3JQO8=";
hash = "sha256-0TE7g/HvFzon+kNjebLEG674U7T0axteB4IR2vT85Vw=";
};

patches = [
# build without GPU support
(fetchpatch {
url = "https://patch-diff.githubusercontent.com/raw/occ-ai/obs-backgroundremoval/pull/524.patch";
sha256 = "sha256-ewETfFcD/0zscsUAPO/1UpytHRdhq/eSrzDcRIUdAxY=";
})
# fix build without GPU support
(fetchpatch {
url = "https://patch-diff.githubusercontent.com/raw/occ-ai/obs-backgroundremoval/pull/530.patch";
sha256 = "sha256-sPZ6Va3d2D0yHWN/bcrMBwNjCNqPXED6I7ipeSU+ThI=";
})
];

nativeBuildInputs = [ cmake ninja ];
buildInputs = [ obs-studio onnxruntime opencv qt6.qtbase curl ];

Expand Down

0 comments on commit e232059

Please sign in to comment.