2018-12-14 20:29:49 +01:00
|
|
|
{fetchurl, fetchpatch, stdenv, meson, ninja, gupnp, gssdp, pkgconfig, gtk3, libuuid, gettext, gupnp-av, gtksourceview4, gnome3, wrapGAppsHook}:
|
2018-03-23 00:40:54 +01:00
|
|
|
|
2018-12-14 20:29:49 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2018-03-23 00:40:54 +01:00
|
|
|
pname = "gupnp-tools";
|
2018-12-14 20:29:49 +01:00
|
|
|
version = "0.8.15";
|
2008-06-19 00:34:49 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-12-14 20:29:49 +01:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
|
|
sha256 = "1awpqjs08cf6aimvzldnlnz5zmdyw8aq4k2rl5239j4zkfhg8vik";
|
2008-06-19 00:34:49 +02:00
|
|
|
};
|
|
|
|
|
2018-12-14 20:29:49 +01:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
url = https://gitlab.gnome.org/GNOME/gupnp-tools/commit/2845d07b1584789a23a0e691ceff476e5d82ccb7.patch;
|
|
|
|
sha256 = "1a8bhsz41s27kbaxp9jbmbisabin6lz2ln87012syvi6f2s332hv";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig gettext wrapGAppsHook ];
|
|
|
|
buildInputs = [ gupnp libuuid gssdp gtk3 gupnp-av gtksourceview4 gnome3.defaultIconTheme ];
|
2014-01-11 13:28:12 +01:00
|
|
|
|
2018-03-23 00:40:54 +01:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
2015-12-19 15:31:41 +01:00
|
|
|
|
2018-03-23 00:40:54 +01: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 15:31:41 +01:00
|
|
|
};
|
2008-06-19 00:34:49 +02:00
|
|
|
}
|