forked from mirrors/nixpkgs
gnome-photos: new package
Photos is an application to access, organize and share your photos with GNOME 3 https://wiki.gnome.org/Apps/Photos
This commit is contained in:
parent
d6206ccceb
commit
4229053cb0
|
@ -134,6 +134,7 @@ in {
|
|||
gnome3.gedit
|
||||
gnome3.gnome-music
|
||||
gnome3.gnome-tweak-tool
|
||||
gnome3.gnome-photos
|
||||
] config.environment.gnome3.excludePackages);
|
||||
|
||||
# Needed for themes and backgrounds
|
||||
|
|
44
pkgs/desktops/gnome-3/apps/gnome-photos/default.nix
Normal file
44
pkgs/desktops/gnome-3/apps/gnome-photos/default.nix
Normal file
|
@ -0,0 +1,44 @@
|
|||
{ stdenv, intltool, fetchurl, exempi, libxml2
|
||||
, pkgconfig, gtk3, glib, hicolor_icon_theme
|
||||
, makeWrapper, itstool, gegl, babl, lcms2
|
||||
, desktop_file_utils, gmp
|
||||
, gnome3, librsvg, gdk_pixbuf, libexif }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gnome-photos-3.10.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gnome-photos/3.10/${name}.tar.xz";
|
||||
sha256 = "820503c26a0f829682dd46653e8f0850ac687aba42728ac74350ba8406e80975";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
|
||||
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${gnome3.glib}/include/gio-unix-2.0";
|
||||
|
||||
buildInputs = [ pkgconfig gtk3 glib intltool itstool gegl babl
|
||||
gnome3.gsettings_desktop_schemas makeWrapper gmp
|
||||
gdk_pixbuf gnome3.gnome_icon_theme librsvg exempi
|
||||
gnome3.gfbgraph gnome3.grilo-plugins gnome3.grilo
|
||||
gnome3.gnome_online_accounts gnome3.gnome_desktop
|
||||
lcms2 libexif gnome3.tracker libxml2 desktop_file_utils
|
||||
hicolor_icon_theme gnome3.gnome_icon_theme_symbolic ];
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram "$out/bin/gnome-photos" \
|
||||
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
||||
--prefix GRL_PLUGIN_PATH : "${gnome3.grilo-plugins}/lib/grilo-0.2" \
|
||||
--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/Photos;
|
||||
description = "Photos is an application to access, organize and share your photos with GNOME 3";
|
||||
maintainers = with maintainers; [ lethalman ];
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -165,6 +165,8 @@ rec {
|
|||
|
||||
gnome-music = callPackage ./apps/gnome-music { };
|
||||
|
||||
gnome-photos = callPackage ./apps/gnome-photos { };
|
||||
|
||||
# scrollkeeper replacement
|
||||
rarian = callPackage ./desktop/rarian { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue