1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 20:21:14 +00:00

gupnp-*: add darwin support

This commit is contained in:
Weijia Wang 2022-10-20 03:04:08 +02:00
parent 5e876613a3
commit 9e5bc1df9b
6 changed files with 9 additions and 8 deletions

View file

@ -50,7 +50,8 @@ stdenv.mkDerivation rec {
"-Dintrospection=${lib.boolToString (stdenv.buildPlatform == stdenv.hostPlatform)}"
];
doCheck = true;
# Bail out! GLib-GIO-FATAL-CRITICAL: g_inet_address_to_string: assertion 'G_IS_INET_ADDRESS (address)' failed
doCheck = !stdenv.isDarwin;
postFixup = lib.optionalString (stdenv.buildPlatform == stdenv.hostPlatform) ''
# Move developer documentation to devdoc output.
@ -73,7 +74,6 @@ stdenv.mkDerivation rec {
};
meta = with lib; {
broken = stdenv.isDarwin;
description = "GObject-based API for handling resource discovery and announcement over SSDP";
homepage = "http://www.gupnp.org/";
license = licenses.lgpl2Plus;

View file

@ -58,6 +58,6 @@ stdenv.mkDerivation rec {
homepage = "http://gupnp.org/";
description = "A collection of helpers for building AV (audio/video) applications using GUPnP";
license = licenses.lgpl2Plus;
platforms = platforms.linux;
platforms = platforms.unix;
};
}

View file

@ -63,6 +63,6 @@ stdenv.mkDerivation rec {
homepage = "https://wiki.gnome.org/Projects/GUPnP/";
description = "Library to ease DLNA-related bits for applications using GUPnP";
license = licenses.lgpl2Plus;
platforms = platforms.linux;
platforms = platforms.unix;
};
}

View file

@ -65,6 +65,6 @@ stdenv.mkDerivation rec {
description = "Library to handle UPnP IGD port mapping";
homepage = "http://www.gupnp.org/";
license = licenses.lgpl21Plus;
platforms = platforms.linux;
platforms = platforms.unix;
};
}

View file

@ -67,7 +67,8 @@ stdenv.mkDerivation rec {
"-Dintrospection=${lib.boolToString (stdenv.buildPlatform == stdenv.hostPlatform)}"
];
doCheck = true;
# Bail out! ERROR:../tests/test-bugs.c:168:test_on_timeout: code should not be reached
doCheck = !stdenv.isDarwin;
passthru = {
updateScript = gnome.updateScript {
@ -80,6 +81,6 @@ stdenv.mkDerivation rec {
homepage = "http://www.gupnp.org/";
description = "An implementation of the UPnP specification";
license = licenses.lgpl2Plus;
platforms = platforms.linux;
platforms = platforms.unix;
};
}

View file

@ -53,6 +53,6 @@ stdenv.mkDerivation rec {
homepage = "https://wiki.gnome.org/Projects/GUPnP";
license = licenses.gpl2Plus;
maintainers = teams.gnome.members;
platforms = platforms.linux;
platforms = platforms.unix;
};
}