nixpkgs/pkgs/development/libraries/gegl/3.0.nix

39 lines
1.0 KiB
Nix
Raw Normal View History

2016-04-02 06:27:23 +00:00
{ stdenv, fetchurl, pkgconfig, glib, babl, libpng, cairo, libjpeg, which
, librsvg, pango, gtk, bzip2, json-glib, intltool, autoreconfHook, libraw
2018-03-14 19:15:06 +00:00
, libwebp, gnome3, libintl }:
2015-04-10 15:02:57 +00:00
stdenv.mkDerivation rec {
name = "gegl-0.3.30";
2015-04-10 15:02:57 +00:00
2016-04-02 06:27:23 +00:00
src = fetchurl {
url = "http://download.gimp.org/pub/gegl/0.3/${name}.tar.bz2";
sha256 = "0lg5j5kn24qvyb6fn7khxf3jadkacbpnb9nrqzy7w665s8xakd7q";
2015-04-10 15:02:57 +00:00
};
hardeningDisable = [ "format" ];
2015-04-10 15:02:57 +00:00
# needs fonts otherwise don't know how to pass them
configureFlags = "--disable-docs";
2017-12-05 23:14:59 +00:00
enableParallelBuilding = true;
doCheck = true;
buildInputs = [
libpng cairo libjpeg librsvg pango gtk bzip2
2017-12-05 23:14:59 +00:00
libraw libwebp gnome3.gexiv2
];
2015-04-10 15:02:57 +00:00
propagatedBuildInputs = [ glib json-glib babl ]; # for gegl-3.0.pc
2018-03-14 19:15:06 +00:00
nativeBuildInputs = [ pkgconfig intltool which autoreconfHook libintl ];
2015-04-10 15:02:57 +00:00
2018-01-30 18:13:53 +00:00
meta = with stdenv.lib; {
2015-04-10 15:02:57 +00:00
description = "Graph-based image processing framework";
homepage = http://www.gegl.org;
2018-01-30 18:13:53 +00:00
license = licenses.gpl3;
maintainers = with maintainers; [ jtojnar ];
platforms = platforms.unix;
2015-04-10 15:02:57 +00:00
};
}