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