diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2019-08-23 02:22:52 +0200 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2019-08-23 02:59:33 +0200 |
commit | c241e9756bf80ca7f672925e2d83ec7746ee80af (patch) | |
tree | ab73a6bde35be7a52dfb3ec139e1fa27d8e21455 /pkgs/applications/graphics/gnome-photos/default.nix | |
parent | b8ba71d6333cdb38220aa0ea6150c7f393de0898 (diff) |
gnome-photos: move from gnome3
Diffstat (limited to 'pkgs/applications/graphics/gnome-photos/default.nix')
-rw-r--r-- | pkgs/applications/graphics/gnome-photos/default.nix | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/gnome-photos/default.nix b/pkgs/applications/graphics/gnome-photos/default.nix new file mode 100644 index 0000000000000..e6072b1211dd9 --- /dev/null +++ b/pkgs/applications/graphics/gnome-photos/default.nix @@ -0,0 +1,96 @@ +{ 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 { + 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 + ]; + + 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 + tracker-miners # For 'org.freedesktop.Tracker.Miner.Files' GSettings schema + ]; + + postPatch = '' + chmod +x meson_post_install.py + patchShebangs meson_post_install.py + ''; + + passthru = { + updateScript = gnome3.updateScript { + packageName = pname; + }; + }; + + meta = with stdenv.lib; { + description = "Access, organize and share your photos"; + homepage = https://wiki.gnome.org/Apps/Photos; + license = licenses.gpl3Plus; + maintainers = gnome3.maintainers; + platforms = platforms.linux; + }; +} |