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

34 lines
1.1 KiB
Nix
Raw Normal View History

2016-08-19 12:32:27 +01: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 20:01:42 +01:00
flex, hicolor_icon_theme, wrapGAppsHook }:
2016-08-19 12:32:27 +01:00
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "gthumb";
2017-10-23 21:34:44 +01:00
version = "${major}.3";
2017-03-19 02:52:04 +00:00
major = "3.5";
2016-08-19 12:32:27 +01:00
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${major}/${name}.tar.xz";
2017-10-23 21:34:44 +01:00
sha256 = "0hka1b3l8mf94zsk7jff87wsb8bz4pj5pixjrs0w2j8jbsa9sggk";
2016-08-19 12:32:27 +01:00
};
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
buildInputs = with gnome3;
[ itstool libxml2 intltool glib gtk gsettings_desktop_schemas dconf
exiv2 libjpeg libtiff gstreamer libraw libsoup libsecret libchamplain
librsvg libwebp json_glib webkit lcms2 bison flex hicolor_icon_theme defaultIconTheme ];
2016-08-19 12:32:27 +01:00
2016-10-11 10:55:42 +01:00
enableParallelBuilding = true;
2016-08-19 12:32:27 +01: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 ];
};
}