nixpkgs/pkgs/development/libraries/gupnp-av/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

64 lines
1.1 KiB
Nix
Raw Normal View History

2021-10-20 15:59:12 +00:00
{ stdenv
, lib
2019-03-16 00:03:31 +00:00
, fetchurl
2021-10-20 15:59:12 +00:00
, meson
, ninja
, pkg-config
2019-03-16 00:03:31 +00:00
, gobject-introspection
, vala
, gtk-doc
2021-10-20 15:59:12 +00:00
, docbook-xsl-nons
2019-03-16 00:03:31 +00:00
, docbook_xml_dtd_412
, glib
, libxml2
, gnome
2019-03-16 00:03:31 +00:00
}:
stdenv.mkDerivation rec {
2019-03-16 00:03:31 +00:00
pname = "gupnp-av";
version = "0.14.1";
outputs = [ "out" "dev" "devdoc" ];
2015-08-03 20:54:38 +00:00
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "t5zgzEsMZtnFS8Ihg6EOVwmgAR0q8nICWUjvyrM6Pk8=";
};
2019-03-16 00:03:31 +00:00
nativeBuildInputs = [
2021-10-20 15:59:12 +00:00
meson
ninja
pkg-config
2019-03-16 00:03:31 +00:00
gobject-introspection
vala
gtk-doc
2021-10-20 15:59:12 +00:00
docbook-xsl-nons
2019-03-16 00:03:31 +00:00
docbook_xml_dtd_412
];
buildInputs = [
glib
libxml2
];
2021-10-20 15:59:12 +00:00
mesonFlags = [
"-Dgtk_doc=true"
];
doCheck = true;
2019-03-16 00:03:31 +00:00
passthru = {
updateScript = gnome.updateScript {
2019-03-16 00:03:31 +00:00
packageName = pname;
versionPolicy = "odd-unstable";
2019-03-16 00:03:31 +00:00
};
};
meta = with lib; {
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";
license = licenses.lgpl2Plus;
platforms = platforms.linux;
};
2015-08-03 20:54:38 +00:00
}