ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / gn / gnome-calendar / package.nix
blobd3cbf403df28316fbff0678a2a94474bfd27886d
1 { stdenv
2 , lib
3 , fetchurl
4 , meson
5 , ninja
6 , pkg-config
7 , wrapGAppsHook4
8 , libgweather
9 , geoclue2
10 , gettext
11 , libxml2
12 , gnome
13 , gtk4
14 , evolution-data-server-gtk4
15 , libical
16 , libsoup_3
17 , glib
18 , gsettings-desktop-schemas
19 , libadwaita
22 stdenv.mkDerivation rec {
23   pname = "gnome-calendar";
24   version = "47.0";
26   src = fetchurl {
27     url = "mirror://gnome/sources/gnome-calendar/${lib.versions.major version}/gnome-calendar-${version}.tar.xz";
28     hash = "sha256-OwMxPxxNEtyCHgfiCdFZbVPq+iVdSS0s5av5LtG1HnY=";
29   };
31   nativeBuildInputs = [
32     meson
33     ninja
34     pkg-config
35     gettext
36     libxml2
37     wrapGAppsHook4
38   ];
40   buildInputs = [
41     gtk4
42     evolution-data-server-gtk4
43     libical
44     libsoup_3
45     glib
46     libgweather
47     geoclue2
48     gsettings-desktop-schemas
49     libadwaita
50   ];
52   passthru = {
53     updateScript = gnome.updateScript {
54       packageName = "gnome-calendar";
55     };
56   };
58   meta = with lib; {
59     homepage = "https://apps.gnome.org/Calendar/";
60     description = "Simple and beautiful calendar application for GNOME";
61     mainProgram = "gnome-calendar";
62     maintainers = teams.gnome.members;
63     license = licenses.gpl3Plus;
64     platforms = platforms.unix;
65   };