uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
|
|
@ -0,0 +1,43 @@
|
|||
{ lib, stdenv, fetchurl, gnome, cmake, gettext, intltool, pkg-config, evolution-data-server, evolution
|
||||
, sqlite, gtk3, webkitgtk, libgdata, libmspack }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "evolution-ews";
|
||||
version = "3.44.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "xXPzlxA8FybyS+Tz+f0gzrvJtEW6CysOt8lI/YQVBho=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake gettext intltool pkg-config ];
|
||||
|
||||
buildInputs = [
|
||||
evolution-data-server evolution
|
||||
sqlite libgdata
|
||||
gtk3 webkitgtk
|
||||
libmspack
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
# Building with libmspack as recommended: https://wiki.gnome.org/Apps/Evolution/Building#Build_evolution-ews
|
||||
"-DWITH_MSPACK=ON"
|
||||
# don't try to install into ${evolution}
|
||||
"-DFORCE_INSTALL_PREFIX=ON"
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome.updateScript {
|
||||
packageName = "evolution-ews";
|
||||
versionPolicy = "odd-unstable";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Evolution connector for Microsoft Exchange Server protocols";
|
||||
homepage = "https://gitlab.gnome.org/GNOME/evolution-ews";
|
||||
license = licenses.lgpl21Plus; # https://gitlab.gnome.org/GNOME/evolution-ews/issues/111
|
||||
maintainers = [ maintainers.dasj19 ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
@ -0,0 +1,140 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, cmake
|
||||
, ninja
|
||||
, intltool
|
||||
, fetchurl
|
||||
, libxml2
|
||||
, webkitgtk
|
||||
, highlight
|
||||
, pkg-config
|
||||
, gtk3
|
||||
, glib
|
||||
, libnotify
|
||||
, libpst
|
||||
, gspell
|
||||
, evolution-data-server
|
||||
, libgdata
|
||||
, libgweather
|
||||
, glib-networking
|
||||
, gsettings-desktop-schemas
|
||||
, wrapGAppsHook
|
||||
, itstool
|
||||
, shared-mime-info
|
||||
, libical
|
||||
, db
|
||||
, gcr
|
||||
, sqlite
|
||||
, gnome
|
||||
, gnome-desktop
|
||||
, librsvg
|
||||
, gdk-pixbuf
|
||||
, libsecret
|
||||
, nss
|
||||
, nspr
|
||||
, icu
|
||||
, libcanberra-gtk3
|
||||
, geocode-glib
|
||||
, cmark
|
||||
, bogofilter
|
||||
, gst_all_1
|
||||
, procps
|
||||
, p11-kit
|
||||
, openldap
|
||||
, spamassassin
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "evolution";
|
||||
version = "3.44.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/evolution/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "+scGznpXP42WdzfxWtDr66Q6h/48p1f4VBID2ZG+BjM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
intltool
|
||||
itstool
|
||||
libxml2
|
||||
ninja
|
||||
pkg-config
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gnome.adwaita-icon-theme
|
||||
bogofilter
|
||||
db
|
||||
evolution-data-server
|
||||
gcr
|
||||
gdk-pixbuf
|
||||
glib
|
||||
glib-networking
|
||||
gnome-desktop
|
||||
gsettings-desktop-schemas
|
||||
gst_all_1.gst-plugins-base
|
||||
gst_all_1.gstreamer
|
||||
gtk3
|
||||
gspell
|
||||
highlight
|
||||
icu
|
||||
libcanberra-gtk3
|
||||
geocode-glib
|
||||
cmark
|
||||
libgdata
|
||||
libgweather
|
||||
libical
|
||||
libnotify
|
||||
libpst
|
||||
librsvg
|
||||
libsecret
|
||||
nspr
|
||||
nss
|
||||
openldap
|
||||
p11-kit
|
||||
procps
|
||||
shared-mime-info
|
||||
sqlite
|
||||
webkitgtk
|
||||
];
|
||||
|
||||
propagatedUserEnvPkgs = [
|
||||
evolution-data-server
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DENABLE_AUTOAR=OFF"
|
||||
"-DENABLE_LIBCRYPTUI=OFF"
|
||||
"-DENABLE_YTNEF=OFF"
|
||||
"-DWITH_SPAMASSASSIN=${spamassassin}/bin/spamassassin"
|
||||
"-DWITH_SA_LEARN=${spamassassin}/bin/sa-learn"
|
||||
"-DWITH_BOGOFILTER=${bogofilter}/bin/bogofilter"
|
||||
"-DWITH_OPENLDAP=${openldap}"
|
||||
"-DWITH_GWEATHER4=ON"
|
||||
];
|
||||
|
||||
requiredSystemFeatures = [
|
||||
"big-parallel"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome.updateScript {
|
||||
packageName = "evolution";
|
||||
versionPolicy = "odd-unstable";
|
||||
};
|
||||
};
|
||||
|
||||
PKG_CONFIG_LIBEDATASERVERUI_1_2_UIMODULEDIR = "${placeholder "out"}/lib/evolution-data-server/ui-modules";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://wiki.gnome.org/Apps/Evolution";
|
||||
description = "Personal information management application that provides integrated mail, calendaring and address book functionality";
|
||||
maintainers = teams.gnome.members;
|
||||
license = licenses.lgpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
@ -0,0 +1,35 @@
|
|||
{ lib, makeWrapper, symlinkJoin, gnome, plugins }:
|
||||
|
||||
symlinkJoin {
|
||||
name = "evolution-with-plugins";
|
||||
paths = [ gnome.evolution-data-server ] ++ plugins;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
postBuild = ''
|
||||
for i in $out/bin/* $out/libexec/**; do
|
||||
if [ ! -d $i ]; then
|
||||
echo wrapping $i
|
||||
wrapProgram $i --set EDS_EXTRA_PREFIXES "${lib.concatStringsSep ":" plugins}"
|
||||
fi
|
||||
done
|
||||
|
||||
fixSymlink () {
|
||||
local link=$1
|
||||
local target=$(readlink $link);
|
||||
local newtarget=$(sed "s@/nix/store/[^/]*/@$out/@" <<< "$target")
|
||||
if [[ $target != $newtarget ]] && [[ -d $newtarget ]]; then
|
||||
echo fixing link to point to $newtarget instead of $target
|
||||
rm $link
|
||||
ln -s $newtarget $link
|
||||
fi
|
||||
}
|
||||
|
||||
fixSymlink $out/share/dbus-1/service
|
||||
fixSymlink $out/lib/systemd/user
|
||||
for i in $out/share/dbus-1/services/*.service $out/lib/systemd/user/*.service; do
|
||||
echo fixing service file $i to point to $out
|
||||
sed -i "s@/nix/store/[^/]*/@$out/@" $i
|
||||
done
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue