3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/graphics/shotwell/default.nix

42 lines
1.6 KiB
Nix
Raw Normal View History

2016-08-21 17:10:06 +01:00
{ fetchurl, stdenv, m4, glibc, gtk3, libexif, libgphoto2, libsoup, libxml2, vala_0_28, sqlite
2016-07-15 16:01:41 +01:00
, webkitgtk, pkgconfig, gnome3, gst_all_1, which, udev, libgudev, libraw, glib, json_glib
2016-08-19 12:33:06 +01:00
, gettext, desktop_file_utils, lcms2, gdk_pixbuf, librsvg, wrapGAppsHook
2016-07-22 23:32:23 +01:00
, gnome_doc_utils, hicolor_icon_theme, itstool }:
2013-07-14 14:14:37 +01:00
# for dependencies see http://www.yorba.org/projects/shotwell/install/
2015-07-30 12:00:37 +01:00
stdenv.mkDerivation rec {
2016-07-15 16:01:41 +01:00
version = "${major}.${minor}";
major = "0.23";
2016-08-19 12:33:06 +01:00
minor = "5";
2013-07-14 14:14:37 +01:00
name = "shotwell-${version}";
src = fetchurl {
2016-07-15 16:01:41 +01:00
url = "mirror://gnome/sources/shotwell/${major}/${name}.tar.xz";
2016-08-19 12:33:06 +01:00
sha256 = "0fgs1rgvkmy79bmpxrsvm5w8rvqml4l1vnwma0xqx5zzm02p8a07";
2013-07-14 14:14:37 +01:00
};
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/glib-2.0 -I${glib.out}/lib/glib-2.0/include";
2013-07-14 14:14:37 +01:00
configureFlags = [ "--disable-gsettings-convert-install" ];
preConfigure = ''
patchShebangs .
'';
2016-08-21 17:10:06 +01:00
buildInputs = [ m4 glibc gtk3 libexif libgphoto2 libsoup libxml2 vala_0_28 sqlite webkitgtk
2015-07-30 12:00:37 +01:00
pkgconfig gst_all_1.gstreamer gst_all_1.gst-plugins-base gnome3.libgee
which udev libgudev gnome3.gexiv2 hicolor_icon_theme
2015-07-30 12:00:37 +01:00
libraw json_glib gettext desktop_file_utils glib lcms2 gdk_pixbuf librsvg
2016-08-19 12:33:06 +01:00
wrapGAppsHook gnome_doc_utils gnome3.rest
2016-07-22 23:32:23 +01:00
gnome3.defaultIconTheme itstool ];
2013-07-14 14:14:37 +01:00
meta = with stdenv.lib; {
description = "Popular photo organizer for the GNOME desktop";
homepage = https://wiki.gnome.org/Apps/Shotwell;
2014-03-19 20:10:15 +00:00
license = licenses.lgpl21Plus;
maintainers = with maintainers; [domenkozar];
2013-07-14 14:14:37 +01:00
platforms = platforms.linux;
};
2014-03-19 20:10:15 +00:00
}