nixpkgs/pkgs/desktops/gnome-3/apps/gnome-calendar/default.nix

29 lines
951 B
Nix
Raw Normal View History

2017-10-04 23:50:14 +02:00
{ stdenv, fetchurl, meson, ninja, pkgconfig, wrapGAppsHook
, gettext, libxml2, gnome3, gtk, evolution_data_server, libsoup
, glib, gnome_online_accounts, gsettings_desktop_schemas }:
stdenv.mkDerivation rec {
inherit (import ./src.nix fetchurl) name src;
NIX_CFLAGS_COMPILE = "-I${gnome3.glib.dev}/include/gio-unix-2.0";
2017-10-04 23:50:14 +02:00
nativeBuildInputs = [ meson ninja pkgconfig gettext libxml2 wrapGAppsHook ];
buildInputs = [
2017-10-04 23:50:14 +02:00
gtk evolution_data_server libsoup glib gnome_online_accounts
gsettings_desktop_schemas gnome3.defaultIconTheme
];
2017-10-04 23:50:14 +02:00
postPatch = ''
chmod +x meson_post_install.py # patchShebangs requires executable file
patchShebangs meson_post_install.py
'';
meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Apps/Calendar;
description = "Simple and beautiful calendar application for GNOME";
maintainers = gnome3.maintainers;
license = licenses.gpl3;
platforms = platforms.linux;
};
}