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";
version = "0.8.13";
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";
2017-03-13 01:55:07 +00:00
sha256 = "1vbr4iqi7nl7kq982agd3liw10gx67s95idd0pjy5h1jsnwyqgda";
};
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;
};
}