2021-05-20 23:08:51 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2020-11-12 09:05:59 +00:00
|
|
|
, fetchurl
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
2022-10-21 18:38:19 +00:00
|
|
|
, vala
|
2021-05-20 23:08:51 +00:00
|
|
|
, gettext
|
|
|
|
, itstool
|
|
|
|
, python3
|
|
|
|
, appstream-glib
|
|
|
|
, desktop-file-utils
|
|
|
|
, wrapGAppsHook
|
2020-11-12 09:05:59 +00:00
|
|
|
, glib
|
|
|
|
, gtk3
|
2021-10-17 02:12:59 +00:00
|
|
|
, libhandy
|
2022-03-30 09:31:56 +00:00
|
|
|
, libsecret
|
2020-11-12 09:05:59 +00:00
|
|
|
, libxml2
|
|
|
|
, gtk-vnc
|
2021-05-20 23:08:51 +00:00
|
|
|
, gtk-frdp
|
|
|
|
, gnome
|
2020-11-12 09:05:59 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gnome-connections";
|
2022-10-21 18:38:19 +00:00
|
|
|
version = "43.0";
|
2020-11-12 09:05:59 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-05-20 23:08:51 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
2022-10-21 18:38:19 +00:00
|
|
|
hash = "sha256-hdrYL5PAsvYJ/o7H7N7scGAKVWEq/A4/AndMJaC7MJ8=";
|
2020-11-12 09:05:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
2022-10-21 18:38:19 +00:00
|
|
|
vala
|
2021-05-20 23:08:51 +00:00
|
|
|
gettext
|
|
|
|
itstool
|
|
|
|
python3
|
|
|
|
appstream-glib
|
|
|
|
desktop-file-utils
|
|
|
|
glib # glib-compile-resources
|
2020-11-12 09:05:59 +00:00
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
gtk-vnc
|
|
|
|
gtk3
|
2021-10-17 02:12:59 +00:00
|
|
|
libhandy
|
2022-03-30 09:31:56 +00:00
|
|
|
libsecret
|
2020-11-12 09:05:59 +00:00
|
|
|
libxml2
|
2021-05-20 23:08:51 +00:00
|
|
|
gtk-frdp
|
2020-11-12 09:05:59 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x build-aux/meson/postinstall.py
|
|
|
|
patchShebangs build-aux/meson/postinstall.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
passthru = {
|
2021-05-20 23:08:51 +00:00
|
|
|
updateScript = gnome.updateScript {
|
|
|
|
packageName = pname;
|
2020-11-12 09:05:59 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-11-12 09:05:59 +00:00
|
|
|
homepage = "https://gitlab.gnome.org/GNOME/connections";
|
|
|
|
description = "A remote desktop client for the GNOME desktop environment";
|
|
|
|
maintainers = teams.gnome.members;
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|