nixpkgs/pkgs/tools/networking/gupnp-tools/default.nix

58 lines
1002 B
Nix
Raw Normal View History

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