summary refs log tree commit diff
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2022-11-14 14:23:30 +0100
committerWeijia Wang <9713184+wegank@users.noreply.github.com>2022-11-14 14:23:30 +0100
commitbd2baae6d1a514aec1c5e57bfa7b6f1804c9b85a (patch)
tree399f19934e078618f3877a0d918e457e14306e94
parent0b5f3feddfbab46425fdbf325630f3f3dec659aa (diff)
downloadnixpkgs-bd2baae6d1a514aec1c5e57bfa7b6f1804c9b85a.tar
nixpkgs-bd2baae6d1a514aec1c5e57bfa7b6f1804c9b85a.tar.gz
nixpkgs-bd2baae6d1a514aec1c5e57bfa7b6f1804c9b85a.tar.bz2
nixpkgs-bd2baae6d1a514aec1c5e57bfa7b6f1804c9b85a.tar.lz
nixpkgs-bd2baae6d1a514aec1c5e57bfa7b6f1804c9b85a.tar.xz
nixpkgs-bd2baae6d1a514aec1c5e57bfa7b6f1804c9b85a.tar.zst
nixpkgs-bd2baae6d1a514aec1c5e57bfa7b6f1804c9b85a.zip
grilo: add darwin support
-rw-r--r--pkgs/development/libraries/gom/default.nix2
-rw-r--r--pkgs/development/libraries/grilo-plugins/default.nix2
-rw-r--r--pkgs/development/libraries/grilo/default.nix10
-rw-r--r--pkgs/development/libraries/libmediaart/default.nix2
4 files changed, 12 insertions, 4 deletions
diff --git a/pkgs/development/libraries/gom/default.nix b/pkgs/development/libraries/gom/default.nix
index d11ecc6a29a..3cb7e9bd6fc 100644
--- a/pkgs/development/libraries/gom/default.nix
+++ b/pkgs/development/libraries/gom/default.nix
@@ -58,7 +58,7 @@ stdenv.mkDerivation rec {
     description = "A GObject to SQLite object mapper";
     homepage = "https://wiki.gnome.org/Projects/Gom";
     license = licenses.lgpl21Plus;
-    platforms = platforms.linux;
+    platforms = platforms.unix;
     maintainers = teams.gnome.members;
   };
 }
diff --git a/pkgs/development/libraries/grilo-plugins/default.nix b/pkgs/development/libraries/grilo-plugins/default.nix
index 624dbd70a61..9643efc8514 100644
--- a/pkgs/development/libraries/grilo-plugins/default.nix
+++ b/pkgs/development/libraries/grilo-plugins/default.nix
@@ -94,6 +94,6 @@ stdenv.mkDerivation rec {
     description = "A collection of plugins for the Grilo framework";
     maintainers = teams.gnome.members;
     license = licenses.lgpl21Plus;
-    platforms = platforms.linux;
+    platforms = platforms.unix;
   };
 }
diff --git a/pkgs/development/libraries/grilo/default.nix b/pkgs/development/libraries/grilo/default.nix
index bf5d1db1340..a878f5910e0 100644
--- a/pkgs/development/libraries/grilo/default.nix
+++ b/pkgs/development/libraries/grilo/default.nix
@@ -1,6 +1,7 @@
 { stdenv
 , lib
 , fetchurl
+, fetchpatch
 , meson
 , mesonEmulatorHook
 , ninja
@@ -34,6 +35,13 @@ stdenv.mkDerivation rec {
     sha256 = "81Ks9zZlZpk0JwY2/t5mtS2mgB/iD2OMQEirJnhXey0=";
   };
 
+  patches = [
+    (fetchpatch {
+      url = "https://gitlab.gnome.org/GNOME/grilo/-/commit/b0d75be00b06cb0163dabbedecf9122a55273349.patch";
+      sha256 = "sha256-Hwnc3TLN6n3w/MAFcprHv7nbTcwRfI0cmfDriNLnAvQ=";
+    })
+  ];
+
   mesonFlags = [
     "-Denable-gtk-doc=true"
   ];
@@ -73,6 +81,6 @@ stdenv.mkDerivation rec {
     description = "Framework that provides access to various sources of multimedia content, using a pluggable system";
     maintainers = teams.gnome.members;
     license = licenses.lgpl2Plus;
-    platforms = platforms.linux;
+    platforms = platforms.unix;
   };
 }
diff --git a/pkgs/development/libraries/libmediaart/default.nix b/pkgs/development/libraries/libmediaart/default.nix
index e8898698dca..a68db1389ab 100644
--- a/pkgs/development/libraries/libmediaart/default.nix
+++ b/pkgs/development/libraries/libmediaart/default.nix
@@ -33,6 +33,6 @@ stdenv.mkDerivation rec {
     description = "Library tasked with managing, extracting and handling media art caches";
     maintainers = teams.gnome.members;
     license = licenses.gpl2;
-    platforms = platforms.linux;
+    platforms = platforms.unix;
   };
 }