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

31 lines
908 B
Nix
Raw Normal View History

2018-03-22 23:40:54 +00:00
{fetchurl, stdenv, gupnp, gssdp, pkgconfig, gtk3, libuuid, intltool, gupnp-av, gnome3, wrapGAppsHook}:
let
pname = "gupnp-tools";
2018-04-25 01:04:13 +01:00
version = "0.8.14";
2018-03-22 23:40:54 +00:00
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
2018-03-22 23:40:54 +00:00
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
2018-04-25 01:04:13 +01:00
sha256 = "1ykybsljjnngj8rsn808a0h37r2jx99c2jbmsb3ihf7l7hmraav8";
};
2018-03-22 23:40:54 +00:00
nativeBuildInputs = [ pkgconfig intltool wrapGAppsHook ];
buildInputs = [ gupnp libuuid gssdp gtk3 gupnp-av gnome3.defaultIconTheme ];
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;
};
}