mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
49 lines
1.4 KiB
Nix
49 lines
1.4 KiB
Nix
{ stdenv, gettext, fetchurl, libxml2, libgdata
|
|
, pkgconfig, gtk3, glib, tracker, tracker-miners
|
|
, itstool, gegl, babl, libdazzle, gfbgraph, grilo-plugins
|
|
, grilo, gnome-online-accounts
|
|
, desktop-file-utils, wrapGAppsHook
|
|
, gnome3, gdk_pixbuf, gexiv2, geocode-glib
|
|
, dleyna-renderer }:
|
|
|
|
let
|
|
pname = "gnome-photos";
|
|
version = "3.30.1";
|
|
in stdenv.mkDerivation rec {
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
|
sha256 = "1mf1887x0pk46h6l51rfkpn29fwp3yvmqkk99kr1iwpz0lakyx6f";
|
|
};
|
|
|
|
# doCheck = true;
|
|
|
|
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
|
|
];
|
|
|
|
|
|
passthru = {
|
|
updateScript = gnome3.updateScript {
|
|
packageName = pname;
|
|
attrPath = "gnome3.${pname}";
|
|
};
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://wiki.gnome.org/Apps/Photos;
|
|
description = "Access, organize and share your photos";
|
|
maintainers = gnome3.maintainers;
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|