2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv
|
2019-01-02 00:14:08 +00:00
|
|
|
, fetchurl
|
|
|
|
, meson
|
|
|
|
, ninja
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2019-01-02 00:14:08 +00:00
|
|
|
, gobject-introspection
|
|
|
|
, vala
|
|
|
|
, gtk-doc
|
|
|
|
, docbook_xsl
|
|
|
|
, docbook_xml_dtd_412
|
|
|
|
, libsoup
|
|
|
|
, gtk3
|
|
|
|
, glib
|
|
|
|
, gnome3
|
|
|
|
}:
|
2008-02-26 20:47:30 +00:00
|
|
|
|
2017-03-13 00:41:00 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-01-02 00:14:08 +00:00
|
|
|
pname = "gssdp";
|
2020-07-03 17:25:48 +01:00
|
|
|
version = "1.2.3";
|
2012-03-13 19:06:03 +00:00
|
|
|
|
2018-08-14 23:37:30 +01:00
|
|
|
outputs = [ "out" "bin" "dev" "devdoc" ];
|
|
|
|
|
2008-02-26 20:47:30 +00:00
|
|
|
src = fetchurl {
|
2021-01-21 17:00:13 +00:00
|
|
|
url = "mirror://gnome/sources/gssdp/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-07-03 17:25:48 +01:00
|
|
|
sha256 = "1s57i8a8wnnxnsfl27cq4503dkdlzbrhry5zpg23sfqfffvdqqx2";
|
2008-02-26 20:47:30 +00:00
|
|
|
};
|
|
|
|
|
2019-01-02 00:14:08 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2019-01-02 00:14:08 +00:00
|
|
|
gobject-introspection
|
|
|
|
vala
|
|
|
|
gtk-doc
|
|
|
|
docbook_xsl
|
|
|
|
docbook_xml_dtd_412
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libsoup
|
|
|
|
gtk3
|
|
|
|
];
|
2008-02-26 20:47:30 +00:00
|
|
|
|
2019-01-02 00:14:08 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
glib
|
|
|
|
];
|
|
|
|
|
|
|
|
mesonFlags = [
|
|
|
|
"-Dgtk_doc=true"
|
2018-08-14 23:37:30 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2019-01-02 00:14:08 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2013-10-06 10:49:53 +01:00
|
|
|
description = "GObject-based API for handling resource discovery and announcement over SSDP";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.gupnp.org/";
|
2018-08-14 23:37:30 +01:00
|
|
|
license = licenses.lgpl2Plus;
|
2017-03-13 00:41:00 +00:00
|
|
|
platforms = platforms.all;
|
2008-02-26 20:47:30 +00:00
|
|
|
};
|
|
|
|
}
|