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

49 lines
1.4 KiB
Nix
Raw Normal View History

2018-03-15 08:22:47 -04:00
{ stdenv, gettext, fetchurl, libxml2, libgdata
2017-10-04 17:50:14 -04:00
, pkgconfig, gtk3, glib, tracker, tracker-miners
2018-03-15 08:22:47 -04: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 08:22:47 -04:00
let
pname = "gnome-photos";
2018-03-12 21:03:18 -04:00
version = "3.28.0";
2018-03-15 08:22:47 -04:00
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
2018-03-15 08:22:47 -04:00
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
2018-03-12 21:03:18 -04:00
sha256 = "1n280j7crgwlzyf09j66f1zkrnnhfrr8pshn824njs1xyk3g0q11";
};
# doCheck = true;
2018-03-15 08:22:47 -04:00
nativeBuildInputs = [ pkgconfig gettext itstool libxml2 desktop-file-utils wrapGAppsHook ];
buildInputs = [
gtk3 glib gegl babl libgdata libdazzle
gnome3.gsettings-desktop-schemas
gdk_pixbuf gnome3.defaultIconTheme
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 08:22:47 -04:00
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "gnome3.${pname}";
};
};
meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Apps/Photos;
2018-03-15 08:22:47 -04:00
description = "Access, organize and share your photos";
maintainers = gnome3.maintainers;
2018-03-15 08:22:47 -04:00
license = licenses.gpl3Plus;
platforms = platforms.linux;
};
}