nixpkgs/pkgs/development/libraries/gssdp/default.nix

67 lines
1.1 KiB
Nix
Raw Normal View History

{ stdenv
, fetchurl
, meson
, ninja
, pkgconfig
, gobject-introspection
, vala
, gtk-doc
, docbook_xsl
, docbook_xml_dtd_412
, libsoup
, gtk3
, glib
, gnome3
}:
2017-03-13 00:41:00 +00:00
stdenv.mkDerivation rec {
pname = "gssdp";
version = "1.2.0";
outputs = [ "out" "bin" "dev" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/gssdp/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1l80znxzzpb2fmsrjf3hygi9gcxx5r405qrk5430nbsjgxafzjr2";
};
nativeBuildInputs = [
meson
ninja
pkgconfig
gobject-introspection
vala
gtk-doc
docbook_xsl
docbook_xml_dtd_412
];
buildInputs = [
libsoup
gtk3
];
propagatedBuildInputs = [
glib
];
mesonFlags = [
"-Dgtk_doc=true"
];
doCheck = true;
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
2017-03-13 00:41:00 +00:00
meta = with stdenv.lib; {
description = "GObject-based API for handling resource discovery and announcement over SSDP";
homepage = http://www.gupnp.org/;
license = licenses.lgpl2Plus;
2017-03-13 00:41:00 +00:00
platforms = platforms.all;
};
}