7 , gobject-introspection
17 stdenv.mkDerivation rec {
21 outputs = [ "out" "dev" ]
22 ++ lib.optionals (stdenv.buildPlatform == stdenv.hostPlatform) [ "devdoc" ];
25 url = "mirror://gnome/sources/gssdp/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
26 sha256 = "FI7UFijI8XM2osj6SxSrD7rpi2Amvi2s/d6nv0OGZok=";
43 propagatedBuildInputs = [
48 "-Dgtk_doc=${lib.boolToString (stdenv.buildPlatform == stdenv.hostPlatform)}"
50 "-Dintrospection=${lib.boolToString (stdenv.buildPlatform == stdenv.hostPlatform)}"
55 postFixup = lib.optionalString (stdenv.buildPlatform == stdenv.hostPlatform) ''
56 # Move developer documentation to devdoc output.
57 # Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back.
58 find -L "$out/share/doc" -type f -regex '.*\.devhelp2?' -print0 \
59 | while IFS= read -r -d ''' file; do
60 moveToOutput "$(dirname "''${file/"$out/"/}")" "$devdoc"
65 updateScript = gnome.updateScript {
66 attrPath = "gssdp_1_6";
76 broken = stdenv.isDarwin;
77 description = "GObject-based API for handling resource discovery and announcement over SSDP";
78 homepage = "http://www.gupnp.org/";
79 license = licenses.lgpl2Plus;
80 maintainers = teams.gnome.members;
81 platforms = platforms.all;