3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/gupnp-tools/default.nix

36 lines
1.1 KiB
Nix
Raw Normal View History

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";
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";
};
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 ];
2018-03-22 23:40:54 +00:00
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
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;
};
}