2018-12-14 19:29:49 +00:00
|
|
|
{fetchurl, fetchpatch, stdenv, meson, ninja, gupnp, gssdp, pkgconfig, gtk3, libuuid, gettext, gupnp-av, gtksourceview4, gnome3, wrapGAppsHook}:
|
2018-03-22 23:40:54 +00:00
|
|
|
|
2018-12-14 19:29:49 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2018-03-22 23:40:54 +00:00
|
|
|
pname = "gupnp-tools";
|
2018-12-14 19:29:49 +00:00
|
|
|
version = "0.8.15";
|
2008-06-18 23:34:49 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-12-14 19:29:49 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
|
|
sha256 = "1awpqjs08cf6aimvzldnlnz5zmdyw8aq4k2rl5239j4zkfhg8vik";
|
2008-06-18 23:34:49 +01:00
|
|
|
};
|
|
|
|
|
2018-12-14 19:29:49 +00:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
url = https://gitlab.gnome.org/GNOME/gupnp-tools/commit/2845d07b1584789a23a0e691ceff476e5d82ccb7.patch;
|
|
|
|
sha256 = "1a8bhsz41s27kbaxp9jbmbisabin6lz2ln87012syvi6f2s332hv";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig gettext wrapGAppsHook ];
|
2019-02-13 21:47:50 +00:00
|
|
|
buildInputs = [ gupnp libuuid gssdp gtk3 gupnp-av gtksourceview4 gnome3.adwaita-icon-theme ];
|
2014-01-11 12:28:12 +00:00
|
|
|
|
2018-03-22 23:40:54 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
2015-12-19 14:31:41 +00:00
|
|
|
|
2018-03-22 23:40:54 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Set of utilities and demos to work with UPnP";
|
|
|
|
homepage = https://wiki.gnome.org/Projects/GUPnP;
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
platforms = platforms.linux;
|
2015-12-19 14:31:41 +00:00
|
|
|
};
|
2008-06-18 23:34:49 +01:00
|
|
|
}
|