gssdp: enable docs, tests, gir and split outputs

This commit is contained in:
Jan Tojnar 2018-08-15 00:37:30 +02:00
parent ca2ba44cab
commit f0f8229ee3
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,22 +1,30 @@
{ stdenv, fetchurl, pkgconfig, libsoup, glib }:
{ stdenv, fetchurl, pkgconfig, gobjectIntrospection, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_412, libsoup, gtk3, glib }:
stdenv.mkDerivation rec {
name = "gssdp-${version}";
version = "1.0.2";
outputs = [ "out" "bin" "dev" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/gssdp/1.0/${name}.tar.xz";
url = "mirror://gnome/sources/gssdp/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "1p1m2m3ndzr2whipqw4vfb6s6ia0g7rnzzc4pnq8b8g1qw4prqd1";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libsoup ];
nativeBuildInputs = [ pkgconfig gobjectIntrospection vala gtk-doc docbook_xsl docbook_xml_dtd_412 ];
buildInputs = [ libsoup gtk3 ];
propagatedBuildInputs = [ glib ];
configureFlags = [
"--enable-gtk-doc"
];
doCheck = true;
meta = with stdenv.lib; {
description = "GObject-based API for handling resource discovery and announcement over SSDP";
homepage = http://www.gupnp.org/;
license = licenses.lgpl2;
license = licenses.lgpl2Plus;
platforms = platforms.all;
};
}