2018-08-15 00:25:51 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gobjectIntrospection, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_412, gupnp, glib, libxml2 }:
|
2014-01-11 12:28:12 +00:00
|
|
|
|
2014-01-14 20:33:11 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "gupnp-av-${version}";
|
2018-08-15 00:25:51 +01:00
|
|
|
version = "0.12.10";
|
|
|
|
|
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
2015-08-03 21:54:38 +01:00
|
|
|
|
2014-01-11 12:28:12 +00:00
|
|
|
src = fetchurl {
|
2018-08-15 00:25:51 +01:00
|
|
|
url = "mirror://gnome/sources/gupnp-av/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2017-08-30 14:45:24 +01:00
|
|
|
sha256 = "0nmq6wlbfsssanv3jgv2z0nhfkv8vzfr3gq5qa8svryvvn2fyf40";
|
2014-01-11 12:28:12 +00:00
|
|
|
};
|
2018-08-15 00:25:51 +01:00
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig gobjectIntrospection vala gtk-doc docbook_xsl docbook_xml_dtd_412 ];
|
2015-08-03 21:54:38 +01:00
|
|
|
buildInputs = [ gupnp glib libxml2 ];
|
2014-01-11 12:28:12 +00:00
|
|
|
|
2018-08-15 00:25:51 +01:00
|
|
|
configureFlags = [
|
|
|
|
"--enable-gtk-doc"
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2014-01-11 12:28:12 +00:00
|
|
|
homepage = http://gupnp.org/;
|
2014-11-11 13:20:43 +00:00
|
|
|
description = "A collection of helpers for building AV (audio/video) applications using GUPnP";
|
2018-08-15 00:25:51 +01:00
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
2014-01-11 12:28:12 +00:00
|
|
|
};
|
2015-08-03 21:54:38 +01:00
|
|
|
}
|