infra/nix/pkgs/evolution-decsync/default.nix

48 lines
1.3 KiB
Nix

{ fetchFromGitHub, git, makeWrapper, meson, ninja, pkg-config, lib, stdenv
, libe-book, evolution-data-server, evolution, gtk3, webkitgtk, cmake
, libdecsync }:
stdenv.mkDerivation rec {
pname = "Evolution-DecSync";
version = "v2.1.0-evolution-3.44";
src = fetchFromGitHub {
owner = "39aldo39";
repo = pname;
rev = version;
sha256 = "sha256-5AdL3sKQjMe+gINebWivSAqoVRUbQjCIm8bNoDZTP4A=";
};
patches = [ ];
buildInputs =
[ evolution-data-server libe-book evolution gtk3 webkitgtk libdecsync ];
nativeBuildInputs = [ meson ninja pkg-config cmake ];
# mesonFlags = [
# # use locales from cinnamon-translations
# "--localedir=${cinnamon-translations}/share/locale"
# ];
# postPatch = ''
# chmod +x data/meson_install_schemas.py # patchShebangs requires executable file
# patchShebangs data/meson_install_schemas.py
# '';
# preFixup = ''
# gappsWrapperArgs+=(
# --prefix XDG_DATA_DIRS : "${cinnamon-desktop}/share"
# --prefix XDG_CONFIG_DIRS : "${cinnamon-settings-daemon}/etc/xdg"
# )
# '';
meta = with lib; {
homepage = "https://github.com/39aldo39/Evolution-DecSync";
description =
" Evolution plugin to sync contacts and calendars without a server using DecSync ";
# license = licenses.gpl2;
platforms = platforms.linux;
maintainers = [ ];
};
}