nixpkgs/pkgs/tools/networking/gupnp-tools/default.nix
2021-01-16 23:49:59 -08:00

57 lines
1,002 B
Nix

{ lib, stdenv
, fetchurl
, meson
, ninja
, gupnp
, gssdp
, pkg-config
, gtk3
, libuuid
, gettext
, gupnp-av
, gtksourceview4
, gnome3
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "gupnp-tools";
version = "0.10.0";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "13d1qr1avz9r76989nvgxhhclmqzr025xjk4rfnja94fpbspznj1";
};
nativeBuildInputs = [
meson
ninja
pkg-config
gettext
wrapGAppsHook
];
buildInputs = [
gupnp
libuuid
gssdp
gtk3
gupnp-av
gtksourceview4
gnome3.adwaita-icon-theme
];
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
meta = with lib; {
description = "Set of utilities and demos to work with UPnP";
homepage = "https://wiki.gnome.org/Projects/GUPnP";
license = licenses.gpl2Plus;
maintainers = teams.gnome.members;
platforms = platforms.linux;
};
}