2021-10-20 16:59:16 +01:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
2019-03-16 01:48:15 +00:00
|
|
|
, fetchurl
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, gupnp
|
|
|
|
, gssdp
|
2021-01-17 03:51:22 +00:00
|
|
|
, pkg-config
|
2019-03-16 01:48:15 +00:00
|
|
|
, gtk3
|
|
|
|
, libuuid
|
|
|
|
, gettext
|
|
|
|
, gupnp-av
|
|
|
|
, gtksourceview4
|
2021-05-07 22:18:14 +01:00
|
|
|
, gnome
|
2019-03-16 01:48:15 +00:00
|
|
|
, 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";
|
2021-11-22 18:45:24 +00:00
|
|
|
version = "0.10.2";
|
2008-06-18 23:34:49 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-15 09:19:50 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2021-11-22 18:45:24 +00:00
|
|
|
sha256 = "beSe9LN1uKFk90t2YWixGE4NKBlrawek9TQfCN/YXWw=";
|
2008-06-18 23:34:49 +01:00
|
|
|
};
|
|
|
|
|
2019-03-16 01:48:15 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
2021-01-17 03:51:22 +00:00
|
|
|
pkg-config
|
2019-03-16 01:48:15 +00:00
|
|
|
gettext
|
|
|
|
wrapGAppsHook
|
2018-12-14 19:29:49 +00:00
|
|
|
];
|
|
|
|
|
2019-03-16 01:48:15 +00:00
|
|
|
buildInputs = [
|
|
|
|
gupnp
|
|
|
|
libuuid
|
|
|
|
gssdp
|
|
|
|
gtk3
|
|
|
|
gupnp-av
|
|
|
|
gtksourceview4
|
2021-05-07 22:18:14 +01:00
|
|
|
gnome.adwaita-icon-theme
|
2019-03-16 01:48:15 +00:00
|
|
|
];
|
2014-01-11 12:28:12 +00:00
|
|
|
|
2018-03-22 23:40:54 +00:00
|
|
|
passthru = {
|
2021-05-07 22:18:14 +01:00
|
|
|
updateScript = gnome.updateScript {
|
2018-03-22 23:40:54 +00:00
|
|
|
packageName = pname;
|
2021-03-20 23:57:24 +00:00
|
|
|
versionPolicy = "odd-unstable";
|
2018-03-22 23:40:54 +00:00
|
|
|
};
|
|
|
|
};
|
2015-12-19 14:31:41 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-03-22 23:40:54 +00:00
|
|
|
description = "Set of utilities and demos to work with UPnP";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://wiki.gnome.org/Projects/GUPnP";
|
2018-03-22 23:40:54 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2020-04-01 13:40:51 +01:00
|
|
|
maintainers = teams.gnome.members;
|
2018-03-22 23:40:54 +00:00
|
|
|
platforms = platforms.linux;
|
2015-12-19 14:31:41 +00:00
|
|
|
};
|
2008-06-18 23:34:49 +01:00
|
|
|
}
|