forked from mirrors/nixpkgs
gnome-clocks: new package
Clock application designed for GNOME 3 https://wiki.gnome.org/Apps/Clocks
This commit is contained in:
parent
fbfccea0e8
commit
b3fe998fdb
|
@ -133,6 +133,7 @@ in {
|
|||
gnome3.evolution
|
||||
gnome3.file-roller
|
||||
gnome3.gedit
|
||||
gnome3.gnome-clocks
|
||||
gnome3.gnome-music
|
||||
gnome3.gnome-tweak-tool
|
||||
gnome3.gnome-photos
|
||||
|
|
41
pkgs/desktops/gnome-3/apps/gnome-clocks/default.nix
Normal file
41
pkgs/desktops/gnome-3/apps/gnome-clocks/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{ stdenv, intltool, fetchurl, libgweather, libnotify
|
||||
, pkgconfig, gtk3, glib, hicolor_icon_theme
|
||||
, makeWrapper, itstool, libcanberra_gtk3, libtool
|
||||
, gnome3, librsvg, gdk_pixbuf, geoclue2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gnome-clocks-3.10.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gnome-clocks/3.10/${name}.tar.xz";
|
||||
sha256 = "5f6f3b7bb9929353d974aa444b10bb4d0f414176449cce2c626fabd2d4b55b43";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
|
||||
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
|
||||
|
||||
buildInputs = [ pkgconfig gtk3 glib intltool itstool libcanberra_gtk3
|
||||
gnome3.gsettings_desktop_schemas makeWrapper
|
||||
gdk_pixbuf gnome3.gnome_icon_theme librsvg
|
||||
gnome3.gnome_desktop gnome3.geocode_glib geoclue2
|
||||
libgweather libnotify libtool
|
||||
hicolor_icon_theme gnome3.gnome_icon_theme_symbolic ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram "$out/bin/gnome-clocks" \
|
||||
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
||||
--prefix XDG_DATA_DIRS : "${gnome3.gnome_themes_standard}/share:$out/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
|
||||
rm $out/share/icons/hicolor/icon-theme.cache
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Apps/Clocks;
|
||||
description = "Clock application designed for GNOME 3";
|
||||
maintainers = with maintainers; [ lethalman ];
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -161,6 +161,8 @@ rec {
|
|||
|
||||
glade = callPackage ./apps/glade { };
|
||||
|
||||
gnome-clocks = callPackage ./apps/gnome-clocks { };
|
||||
|
||||
gnome-documents = callPackage ./apps/gnome-documents { };
|
||||
|
||||
gnome-music = callPackage ./apps/gnome-music { };
|
||||
|
|
Loading…
Reference in a new issue