mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
68eaeab4bc
copied from 3.20 removed whitespaces at the end of lines updated to 3.22 versions removed webkitgtk24 where possible gnome3_22.evolution: nspr include dir broken / not needed anymore gnome3_22.gfbgraph: 0.2.2 -> 0.2.3 gnome3_22.gjs: 1.44.0 -> 1.46.0 gnome3_22.gnome-autoar: init at 0.1.1 gnome3_22.gnome-core.folks: 0.11.0 -> 0.11.2 gnome3_22.gnome-user-share 3.18.1 -> 3.18.3 gnome3_22.gnome-weather: 3.20.1 -> 3.20.2 gnome3_22.grilo: 0.3.1 -> 0.3.2 gnome3_22.grilo-plugins: 0.3.2 -> 0.3.3 gnome3_22.libgepub: init at 0.4 gnome3_22.libgweather: 3.20.1 -> 3.20.3 gnome3_22.rest: 0.7.93 -> 0.8.0 gnome3_22.totem: x86 patch is upstream gnome3_22.tracker: 1.9.0 -> 1.10.0
50 lines
1.7 KiB
Nix
50 lines
1.7 KiB
Nix
{ stdenv, fetchurl, intltool, pkgconfig, gtk3, vala_0_32
|
|
, makeWrapper, gdk_pixbuf, cmake, desktop_file_utils
|
|
, libnotify, libcanberra_gtk3, libsecret, gmime
|
|
, libpthreadstubs, sqlite
|
|
, gnome3, librsvg, gnome_doc_utils, webkitgtk }:
|
|
|
|
let
|
|
majorVersion = "0.11";
|
|
in
|
|
stdenv.mkDerivation rec {
|
|
name = "geary-${majorVersion}.2";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/geary/${majorVersion}/${name}.tar.xz";
|
|
sha256 = "0ca6kdprhm8w990n6wgpvn0vzsdrnv9vjdm448pa8winspn217jw";
|
|
};
|
|
|
|
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
|
|
|
|
buildInputs = [ intltool pkgconfig gtk3 makeWrapper cmake desktop_file_utils gnome_doc_utils
|
|
vala_0_32 webkitgtk libnotify libcanberra_gtk3 gnome3.libgee libsecret gmime sqlite
|
|
libpthreadstubs gnome3.gsettings_desktop_schemas gnome3.gcr
|
|
gdk_pixbuf librsvg gnome3.defaultIconTheme ];
|
|
|
|
preConfigure = ''
|
|
substituteInPlace src/CMakeLists.txt --replace '`pkg-config --variable=girdir gobject-introspection-1.0`' '${webkitgtk}/share/gir-1.0'
|
|
'';
|
|
|
|
postInstall = ''
|
|
mkdir -p $out/share/gsettings-schemas/${name}/
|
|
mv $out/share/glib-2.0 $out/share/gsettings-schemas/${name}
|
|
'';
|
|
|
|
preFixup = ''
|
|
wrapProgram "$out/bin/geary" \
|
|
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
|
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:${gnome3.gnome_themes_standard}/share:$out/share:$GSETTINGS_SCHEMAS_PATH"
|
|
'';
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://wiki.gnome.org/Apps/Geary;
|
|
description = "Mail client for GNOME 3";
|
|
maintainers = gnome3.maintainers;
|
|
license = licenses.lgpl2;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|