forked from mirrors/nixpkgs
30 lines
893 B
Nix
30 lines
893 B
Nix
{ stdenv, fetchurl, pkgconfig, gobjectIntrospection, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_412, gupnp, glib, libxml2 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "gupnp-av-${version}";
|
|
version = "0.12.10";
|
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/gupnp-av/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
|
sha256 = "0nmq6wlbfsssanv3jgv2z0nhfkv8vzfr3gq5qa8svryvvn2fyf40";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig gobjectIntrospection vala gtk-doc docbook_xsl docbook_xml_dtd_412 ];
|
|
buildInputs = [ gupnp glib libxml2 ];
|
|
|
|
configureFlags = [
|
|
"--enable-gtk-doc"
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://gupnp.org/;
|
|
description = "A collection of helpers for building AV (audio/video) applications using GUPnP";
|
|
license = licenses.lgpl2Plus;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|