summary refs log tree commit diff
path: root/pkgs/desktops/gnome-3/apps/gnome-clocks/default.nix
blob: 1d0a9b271c2708e127b11c84442f37c57add7a33 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ stdenv, fetchurl
, meson, ninja, gettext, pkgconfig, wrapGAppsHook, itstool, desktop_file_utils
, vala,  gtk3, glib, gsound, libcanberra_gtk3
, gnome3, gdk_pixbuf, geoclue2, libgweather }:

stdenv.mkDerivation rec {
  inherit (import ./src.nix fetchurl) name src;

  doCheck = true;

  nativeBuildInputs = [ vala meson ninja pkgconfig gettext itstool wrapGAppsHook desktop_file_utils ];
  buildInputs = [ gtk3 glib libcanberra_gtk3
                  gnome3.gsettings_desktop_schemas
                  gdk_pixbuf gnome3.defaultIconTheme
                  gnome3.gnome_desktop gnome3.geocode_glib geoclue2
                  libgweather gsound ];

  enableParallelBuilding = true;

  prePatch = "patchShebangs build-aux/";

  checkPhase = "meson test";

  meta = with stdenv.lib; {
    homepage = https://wiki.gnome.org/Apps/Clocks;
    description = "Clock application designed for GNOME 3";
    maintainers = gnome3.maintainers;
    license = licenses.gpl2;
    platforms = platforms.linux;
  };
}