18 stdenv.mkDerivation rec {
25 ] ++ lib.optionals (stdenv.buildPlatform == stdenv.hostPlatform) [ "devdoc" ];
28 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
29 sha256 = "sha256-S1EgCYqhPt0ngYup7k1/6WG/VAv1DQVv9wPGFUXgK+E=";
47 propagatedBuildInputs = [
53 "-Dgtk_doc=${lib.boolToString (stdenv.buildPlatform == stdenv.hostPlatform)}"
54 "-Dintrospection=${lib.boolToString (stdenv.buildPlatform == stdenv.hostPlatform)}"
57 # Seems to get stuck sometimes.
58 # https://github.com/NixOS/nixpkgs/issues/119288
62 updateScript = gnome.updateScript {
64 versionPolicy = "odd-unstable";
70 description = "Library to handle UPnP IGD port mapping";
71 homepage = "http://www.gupnp.org/";
72 license = licenses.lgpl21Plus;
73 platforms = platforms.unix;