1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/graphics/gnome-photos/default.nix

97 lines
1.6 KiB
Nix
Raw Normal View History

{ stdenv
, fetchurl
, babl
, dbus
, desktop-file-utils
, dleyna-renderer
, gdk-pixbuf
, gegl
, geocode-glib
, gettext
, gexiv2
, gfbgraph
, glib
, gnome-online-accounts
, gnome3
, grilo
, grilo-plugins
, gsettings-desktop-schemas
, gtk3
, itstool
, libdazzle
, libgdata
, libxml2
, meson
, ninja
, pkgconfig
, python3
, tracker
, tracker-miners
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
2018-03-15 12:22:47 +00:00
pname = "gnome-photos";
version = "3.32.1";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0nxa2jz1g73wypdsj19r4plf4hfkhs9mpl7gbhsiyqp1rkn84ahn";
};
# doCheck = true;
nativeBuildInputs = [
desktop-file-utils
gettext
itstool
libxml2
meson
ninja
pkgconfig
python3
wrapGAppsHook
];
2018-03-15 12:22:47 +00:00
buildInputs = [
babl
dbus
dleyna-renderer
gdk-pixbuf
gegl
geocode-glib
gexiv2
gfbgraph
glib
gnome-online-accounts
gnome3.adwaita-icon-theme
grilo
grilo-plugins
gsettings-desktop-schemas
gtk3
libdazzle
libgdata
tracker
2018-03-15 12:22:47 +00:00
tracker-miners # For 'org.freedesktop.Tracker.Miner.Files' GSettings schema
];
postPatch = ''
chmod +x meson_post_install.py
patchShebangs meson_post_install.py
'';
2018-03-15 12:22:47 +00:00
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
meta = with stdenv.lib; {
2018-03-15 12:22:47 +00:00
description = "Access, organize and share your photos";
homepage = https://wiki.gnome.org/Apps/Photos;
2018-03-15 12:22:47 +00:00
license = licenses.gpl3Plus;
maintainers = gnome3.maintainers;
platforms = platforms.linux;
};
}