mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
5cc18c4781
Standard library now contains stdenv.lib.versions.majorMinor, which does the same.
60 lines
1.9 KiB
Nix
60 lines
1.9 KiB
Nix
{ stdenv, cmake, ninja, intltool, fetchurl, libxml2, webkitgtk, highlight
|
|
, pkgconfig, gtk3, glib, libnotify, gtkspell3
|
|
, wrapGAppsHook, itstool, shared-mime-info, libical, db, gcr, sqlite
|
|
, gnome3, librsvg, gdk_pixbuf, libsecret, nss, nspr, icu
|
|
, libcanberra-gtk3, bogofilter, gst_all_1, procps, p11-kit, openldap }:
|
|
|
|
let
|
|
version = "3.28.5";
|
|
in stdenv.mkDerivation rec {
|
|
name = "evolution-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/evolution/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
|
sha256 = "1q1nfga39f44knrcvcxk8ivhl6fvg92g71cq3hcp4a7krb3jwa5v";
|
|
};
|
|
|
|
propagatedUserEnvPkgs = [ gnome3.evolution-data-server ];
|
|
|
|
buildInputs = [
|
|
gtk3 glib gdk_pixbuf gnome3.defaultIconTheme librsvg db icu
|
|
gnome3.evolution-data-server libsecret libical gcr
|
|
webkitgtk shared-mime-info gnome3.gnome-desktop gtkspell3
|
|
libcanberra-gtk3 bogofilter gnome3.libgdata sqlite
|
|
gst_all_1.gstreamer gst_all_1.gst-plugins-base p11-kit
|
|
nss nspr libnotify procps highlight gnome3.libgweather
|
|
gnome3.gsettings-desktop-schemas
|
|
gnome3.glib-networking openldap
|
|
];
|
|
|
|
nativeBuildInputs = [ cmake ninja intltool itstool libxml2 pkgconfig wrapGAppsHook ];
|
|
|
|
cmakeFlags = [
|
|
"-DENABLE_AUTOAR=OFF"
|
|
"-DENABLE_LIBCRYPTUI=OFF"
|
|
"-DENABLE_YTNEF=OFF"
|
|
"-DENABLE_PST_IMPORT=OFF"
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
checkPhase = "ctest";
|
|
|
|
passthru = {
|
|
updateScript = gnome3.updateScript {
|
|
packageName = "evolution";
|
|
attrPath = "gnome3.evolution";
|
|
};
|
|
};
|
|
|
|
requiredSystemFeatures = [ "big-parallel" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://wiki.gnome.org/Apps/Evolution;
|
|
description = "Personal information management application that provides integrated mail, calendaring and address book functionality";
|
|
maintainers = gnome3.maintainers;
|
|
license = licenses.lgpl2Plus;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|