2018-03-15 12:22:47 +00:00
|
|
|
{ stdenv, gettext, fetchurl, libxml2, libgdata
|
2017-10-04 21:50:14 +00: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
|
2019-03-03 18:54:28 +00:00
|
|
|
, dleyna-renderer, dbus, meson, ninja, python3 }:
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2018-03-15 12:22:47 +00:00
|
|
|
let
|
|
|
|
pname = "gnome-photos";
|
2019-03-03 18:54:28 +00:00
|
|
|
version = "3.32.0";
|
2018-03-15 12:22:47 +00:00
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-10-05 00:12:11 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2019-03-03 18:54:28 +00:00
|
|
|
sha256 = "160vqmcqvyzby27wd2lzwzgbfl6jxxk7phhnqh9498r3clr73haj";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
2016-09-18 19:35:23 +00:00
|
|
|
# doCheck = true;
|
|
|
|
|
2019-03-03 18:54:28 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig gettext itstool meson ninja libxml2
|
|
|
|
desktop-file-utils wrapGAppsHook python3
|
|
|
|
];
|
2018-03-15 12:22:47 +00:00
|
|
|
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
|
2019-03-03 18:54:28 +00:00
|
|
|
dbus
|
|
|
|
];
|
|
|
|
|
|
|
|
mesonFlags = [
|
|
|
|
"--buildtype=plain" # don't do any git commands
|
2018-03-15 12:22:47 +00:00
|
|
|
];
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2019-03-03 18:54:28 +00:00
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson_post_install.py
|
|
|
|
patchShebangs meson_post_install.py
|
|
|
|
'';
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2018-03-15 12:22:47 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
attrPath = "gnome3.${pname}";
|
|
|
|
};
|
|
|
|
};
|
2016-09-18 19:35:23 +00:00
|
|
|
|
|
|
|
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";
|
2016-09-18 19:35:23 +00:00
|
|
|
maintainers = gnome3.maintainers;
|
2018-03-15 12:22:47 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2016-09-18 19:35:23 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|