2017-10-04 23:50:14 +02:00
|
|
|
{ stdenv, fetchurl
|
2018-02-25 03:23:58 +01:00
|
|
|
, meson, ninja, gettext, pkgconfig, wrapGAppsHook, itstool, desktop-file-utils
|
2017-12-17 03:07:37 +01:00
|
|
|
, vala, gtk3, glib, gsound
|
2017-10-04 23:50:14 +02:00
|
|
|
, gnome3, gdk_pixbuf, geoclue2, libgweather }:
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
inherit (import ./src.nix fetchurl) name src;
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2017-12-17 03:07:37 +01:00
|
|
|
nativeBuildInputs = [
|
2018-02-25 03:23:58 +01:00
|
|
|
vala meson ninja pkgconfig gettext itstool wrapGAppsHook desktop-file-utils
|
2017-12-17 03:07:37 +01:00
|
|
|
];
|
|
|
|
buildInputs = [
|
2018-02-25 03:23:58 +01:00
|
|
|
gtk3 glib gnome3.gsettings-desktop-schemas gdk_pixbuf gnome3.defaultIconTheme
|
|
|
|
gnome3.gnome-desktop gnome3.geocode-glib geoclue2 libgweather gsound
|
2017-12-17 03:07:37 +01:00
|
|
|
];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2017-10-04 23:50:14 +02:00
|
|
|
prePatch = "patchShebangs build-aux/";
|
|
|
|
|
2016-09-18 21:35:23 +02:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|