458f58698d
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/gssdp/versions
67 lines
1.1 KiB
Nix
67 lines
1.1 KiB
Nix
{ stdenv
|
|
, fetchurl
|
|
, meson
|
|
, ninja
|
|
, pkgconfig
|
|
, gobject-introspection
|
|
, vala
|
|
, gtk-doc
|
|
, docbook_xsl
|
|
, docbook_xml_dtd_412
|
|
, libsoup
|
|
, gtk3
|
|
, glib
|
|
, gnome3
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gssdp";
|
|
version = "1.2.1";
|
|
|
|
outputs = [ "out" "bin" "dev" "devdoc" ];
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/gssdp/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "1lsn6mdkk8yb933n0c9dka89bixvwis09w5nh5wkcag2jsdbfmvb";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkgconfig
|
|
gobject-introspection
|
|
vala
|
|
gtk-doc
|
|
docbook_xsl
|
|
docbook_xml_dtd_412
|
|
];
|
|
|
|
buildInputs = [
|
|
libsoup
|
|
gtk3
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
glib
|
|
];
|
|
|
|
mesonFlags = [
|
|
"-Dgtk_doc=true"
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
passthru = {
|
|
updateScript = gnome3.updateScript {
|
|
packageName = pname;
|
|
};
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "GObject-based API for handling resource discovery and announcement over SSDP";
|
|
homepage = http://www.gupnp.org/;
|
|
license = licenses.lgpl2Plus;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|