forked from mirrors/nixpkgs
34 lines
1.1 KiB
Nix
34 lines
1.1 KiB
Nix
{ stdenv, fetchurl, gnome3, itstool, libxml2, pkgconfig, intltool,
|
|
exiv2, libjpeg, libtiff, gstreamer, libraw, libsoup, libsecret,
|
|
libchamplain, librsvg, libwebp, json_glib, webkit, lcms2, bison,
|
|
flex, hicolor_icon_theme, wrapGAppsHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "${pname}-${version}";
|
|
pname = "gthumb";
|
|
version = "${major}.3";
|
|
major = "3.5";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${major}/${name}.tar.xz";
|
|
sha256 = "0hka1b3l8mf94zsk7jff87wsb8bz4pj5pixjrs0w2j8jbsa9sggk";
|
|
};
|
|
|
|
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 ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
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 ];
|
|
};
|
|
}
|