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

42 lines
1.3 KiB
Nix
Raw Normal View History

2018-03-13 17:40:07 -07:00
{ stdenv, fetchurl, meson, ninja, pkgconfig, wrapGAppsHook, libdazzle, libgweather, geoclue2, geocode-glib
, gettext, libxml2, gnome3, gtk, evolution-data-server, libsoup
, glib, gnome-online-accounts, gsettings-desktop-schemas }:
2018-03-13 17:40:07 -07:00
let
pname = "gnome-calendar";
version = "3.28.2";
2018-03-13 17:40:07 -07:00
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
2018-03-13 17:40:07 -07:00
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
sha256 = "0x6wxngf8fkwgbl6x7rzp0srrb43rm55klpb2vfjk2hahpbjvxyw";
};
passthru = {
2018-03-13 17:40:07 -07:00
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "gnome3.${pname}";
};
};
2017-10-04 14:50:14 -07:00
nativeBuildInputs = [ meson ninja pkgconfig gettext libxml2 wrapGAppsHook ];
buildInputs = [
2018-03-13 17:40:07 -07:00
gtk evolution-data-server libsoup glib gnome-online-accounts libdazzle libgweather geoclue2 geocode-glib
gsettings-desktop-schemas gnome3.defaultIconTheme
];
2017-10-04 14:50:14 -07: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;
};
}