nixpkgs/pkgs/desktops/gnome-3/apps/gnome-photos/default.nix

49 lines
1.4 KiB
Nix
Raw Normal View History

2018-03-15 12:22:47 +00:00
{ stdenv, gettext, fetchurl, libxml2, libgdata
2017-10-04 22:50:14 +01:00
, pkgconfig, gtk3, glib, tracker, tracker-miners
2018-03-15 12:22:47 +00:00
, itstool, gegl, babl, libdazzle, gfbgraph, grilo-plugins
, grilo, gnome-online-accounts
, desktop-file-utils, wrapGAppsHook
, gnome3, gdk_pixbuf, gexiv2, geocode-glib
, dleyna-renderer }:
2018-03-15 12:22:47 +00:00
let
pname = "gnome-photos";
2018-09-05 01:47:35 +01:00
version = "3.30.1";
2018-03-15 12:22:47 +00:00
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
2018-09-05 01:47:35 +01:00
sha256 = "1mf1887x0pk46h6l51rfkpn29fwp3yvmqkk99kr1iwpz0lakyx6f";
};
# doCheck = true;
2018-03-15 12:22:47 +00:00
nativeBuildInputs = [ pkgconfig gettext itstool libxml2 desktop-file-utils wrapGAppsHook ];
buildInputs = [
gtk3 glib gegl babl libgdata libdazzle
gnome3.gsettings-desktop-schemas
2019-02-13 21:47:50 +00:00
gdk_pixbuf gnome3.adwaita-icon-theme
2018-03-15 12:22:47 +00:00
gfbgraph grilo-plugins grilo
gnome-online-accounts tracker
gexiv2 geocode-glib dleyna-renderer
tracker-miners # For 'org.freedesktop.Tracker.Miner.Files' GSettings schema
];
2018-03-15 12:22:47 +00:00
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "gnome3.${pname}";
};
};
meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Apps/Photos;
2018-03-15 12:22:47 +00:00
description = "Access, organize and share your photos";
maintainers = gnome3.maintainers;
2018-03-15 12:22:47 +00:00
license = licenses.gpl3Plus;
platforms = platforms.linux;
};
}