nixpkgs/pkgs/development/libraries/gupnp/default.nix
Maxine Aubrey f3a69abc19
gupnp: 1.2.0 -> 1.2.4
both patches are merged upstream
meson.build changes no longer required as upstream does it too
2021-03-14 03:38:47 +01:00

73 lines
1.1 KiB
Nix

{ lib, stdenv
, fetchurl
, meson
, ninja
, pkg-config
, gobject-introspection
, vala
, gtk-doc
, docbook_xsl
, docbook_xml_dtd_412
, docbook_xml_dtd_44
, glib
, gssdp
, libsoup
, libxml2
, libuuid
, gnome3
}:
stdenv.mkDerivation rec {
pname = "gupnp";
version = "1.2.4";
outputs = [ "out" "dev" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/gupnp/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "sha256-96AwfqUfXkTRuDL0k92QRURKOk4hHvhd/Zql3W6up9E=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
gobject-introspection
vala
gtk-doc
docbook_xsl
docbook_xml_dtd_412
docbook_xml_dtd_44
];
buildInputs = [
libuuid
];
propagatedBuildInputs = [
glib
gssdp
libsoup
libxml2
];
mesonFlags = [
"-Dgtk_doc=true"
];
doCheck = true;
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
meta = with lib; {
homepage = "http://www.gupnp.org/";
description = "An implementation of the UPnP specification";
license = licenses.lgpl2Plus;
platforms = platforms.linux;
};
}