3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/gnome-3/apps/gnome-clocks/default.nix

39 lines
1.2 KiB
Nix
Raw Normal View History

2017-10-04 22:50:14 +01:00
{ stdenv, fetchurl
, meson, ninja, gettext, pkgconfig, wrapGAppsHook, itstool, desktop-file-utils
2017-12-17 02:07:37 +00:00
, vala, gtk3, glib, gsound
2017-10-04 22:50:14 +01:00
, gnome3, gdk_pixbuf, geoclue2, libgweather }:
stdenv.mkDerivation rec {
name = "gnome-clocks-${version}";
version = "3.26.1";
src = fetchurl {
url = "mirror://gnome/sources/gnome-clocks/${gnome3.versionBranch version}/${name}.tar.xz";
sha256 = "2bd8d8df1d6aa0feddd4afc15d84b1308202fda59a3c3be42e3bce7e9ccd11f7";
};
passthru = {
updateScript = gnome3.updateScript { packageName = "gnome-clocks"; attrPath = "gnome3.gnome-clocks"; };
};
doCheck = true;
2017-12-17 02:07:37 +00:00
nativeBuildInputs = [
vala meson ninja pkgconfig gettext itstool wrapGAppsHook desktop-file-utils
2017-12-17 02:07:37 +00:00
];
buildInputs = [
gtk3 glib gnome3.gsettings-desktop-schemas gdk_pixbuf gnome3.defaultIconTheme
gnome3.gnome-desktop gnome3.geocode-glib geoclue2 libgweather gsound
2017-12-17 02:07:37 +00:00
];
2017-10-04 22:50:14 +01:00
prePatch = "patchShebangs build-aux/";
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;
};
}