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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

63 lines
1.1 KiB
Nix
Raw Normal View History

2021-10-20 15:59:16 +00:00
{ stdenv
, lib
, fetchurl
, meson
, ninja
, gupnp_1_6
, libsoup_3
, gssdp_1_6
2021-01-17 03:51:22 +00:00
, pkg-config
, gtk3
, gettext
, gupnp-av
, gtksourceview4
, gnome
, 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";
version = "0.12.1";
src = fetchurl {
2021-01-15 09:19:50 +00:00
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "U8+TEj85fo+PC46eQ2TIanUCpTNPTAvi4FSoJEeL1bo=";
};
nativeBuildInputs = [
meson
ninja
2021-01-17 03:51:22 +00:00
pkg-config
gettext
wrapGAppsHook
2018-12-14 19:29:49 +00:00
];
buildInputs = [
gupnp_1_6
libsoup_3
gssdp_1_6
gtk3
gupnp-av
gtksourceview4
];
# new libxml2 version
# TODO: can be dropped on next update
NIX_CFLAGS_COMPILE = [ "-Wno-error=deprecated-declarations" ];
2018-03-22 23:40:54 +00:00
passthru = {
updateScript = gnome.updateScript {
2018-03-22 23:40:54 +00:00
packageName = pname;
versionPolicy = "odd-unstable";
2018-03-22 23:40:54 +00:00
};
};
meta = with lib; {
2018-03-22 23:40:54 +00:00
description = "Set of utilities and demos to work with UPnP";
homepage = "https://wiki.gnome.org/Projects/GUPnP";
2018-03-22 23:40:54 +00:00
license = licenses.gpl2Plus;
maintainers = teams.gnome.members;
2022-10-20 01:04:08 +00:00
platforms = platforms.unix;
};
}