2016-08-19 13:32:27 +02:00
|
|
|
{ stdenv, fetchurl, gnome3, itstool, libxml2, pkgconfig, intltool,
|
|
|
|
exiv2, libjpeg, libtiff, gstreamer, libraw, libsoup, libsecret,
|
|
|
|
libchamplain, librsvg, libwebp, json_glib, webkit, lcms2, bison,
|
2016-10-14 21:01:42 +02:00
|
|
|
flex, hicolor_icon_theme, wrapGAppsHook }:
|
2016-08-19 13:32:27 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "gthumb";
|
2016-10-11 11:55:42 +02:00
|
|
|
version = "${major}.4";
|
2016-08-19 13:32:27 +02:00
|
|
|
major = "3.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/${pname}/${major}/${name}.tar.xz";
|
2016-10-11 11:55:42 +02:00
|
|
|
sha256 = "154bdc8c1940209f1e3d9c60184efef45b0d24f5f7f7f59b819e9c08e19c2981";
|
2016-08-19 13:32:27 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
|
|
|
|
|
|
|
|
buildInputs = with gnome3;
|
|
|
|
[ itstool libxml2 intltool glib gtk gsettings_desktop_schemas dconf
|
|
|
|
exiv2 libjpeg libtiff gstreamer libraw libsoup libsecret libchamplain
|
2016-10-23 14:06:17 +02:00
|
|
|
librsvg libwebp json_glib webkit lcms2 bison flex hicolor_icon_theme defaultIconTheme ];
|
2016-08-19 13:32:27 +02:00
|
|
|
|
2016-10-11 11:55:42 +02:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2016-08-19 13:32:27 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://wiki.gnome.org/Apps/gthumb;
|
|
|
|
description = "Image browser and viewer for GNOME";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.mimadrid ];
|
|
|
|
};
|
|
|
|
}
|