gnome-connections: 3.38.1 → 40.0.1

- Update
- Move gtk-frdp into a separate package.
- Sort native tools approximately in the order they are needed.
This commit is contained in:
Jan Tojnar 2021-05-14 15:07:30 +02:00
parent 4d2d4d329d
commit 40c6ff72f9

View file

@ -1,46 +1,45 @@
{ lib, stdenv { lib
, stdenv
, fetchurl , fetchurl
, gnome
, meson , meson
, ninja , ninja
, vala
, pkg-config , pkg-config
, vala
, gettext
, itstool
, python3
, appstream-glib
, desktop-file-utils
, wrapGAppsHook
, glib , glib
, gtk3 , gtk3
, python3
, libxml2 , libxml2
, gtk-vnc , gtk-vnc
, gettext , gtk-frdp
, desktop-file-utils , gnome
, appstream-glib
, gobject-introspection
, freerdp
, wrapGAppsHook
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-connections"; pname = "gnome-connections";
version = "3.38.1"; version = "40.0.1";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/connections/${lib.versions.majorMinor version}/connections-${version}.tar.xz"; url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
hash = "sha256-5c7uBFkh9Vsw6bWWUDjNTMDrrFqI5JEgYlsWpfyuTpA="; hash = "sha256-vpvLoHzz+vWs4M5UzSL4YJtNx3ZuJe5f2cGAw5WbTRE=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
desktop-file-utils
gettext
glib # glib-compile-resources
meson meson
appstream-glib
ninja ninja
pkg-config pkg-config
python3
vala vala
gettext
itstool
python3
appstream-glib
desktop-file-utils
glib # glib-compile-resources
wrapGAppsHook wrapGAppsHook
# for gtk-frdp subproject
gobject-introspection
]; ];
buildInputs = [ buildInputs = [
@ -48,9 +47,7 @@ stdenv.mkDerivation rec {
gtk-vnc gtk-vnc
gtk3 gtk3
libxml2 libxml2
gtk-frdp
# for gtk-frdp subproject
freerdp
]; ];
postPatch = '' postPatch = ''
@ -60,8 +57,7 @@ stdenv.mkDerivation rec {
passthru = { passthru = {
updateScript = gnome.updateScript { updateScript = gnome.updateScript {
packageName = "connections"; packageName = pname;
attrPath = "gnome-connections";
}; };
}; };