diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2018-04-28 00:59:26 +0200 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2018-04-28 04:08:49 +0200 |
commit | 3ebb162d902906c2eb65bd4978f9d77a8a841522 (patch) | |
tree | 6aa0789b37881178ad821059a4a7770dbbab2b9f /pkgs/development/libraries/gegl | |
parent | e375bd4a9e789105b84eabf61f11b1d55b7131d3 (diff) |
gegl_0_4: init at 0.4.0
Diffstat (limited to 'pkgs/development/libraries/gegl')
-rw-r--r-- | pkgs/development/libraries/gegl/4.0.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/development/libraries/gegl/4.0.nix b/pkgs/development/libraries/gegl/4.0.nix new file mode 100644 index 0000000000000..a8e50945c3fd4 --- /dev/null +++ b/pkgs/development/libraries/gegl/4.0.nix @@ -0,0 +1,38 @@ +{ stdenv, fetchurl, pkgconfig, glib, babl, libpng, cairo, libjpeg, which +, librsvg, pango, gtk, bzip2, json-glib, intltool, autoreconfHook, libraw +, libwebp, gnome3, libintl }: + +let + version = "0.4.0"; +in stdenv.mkDerivation rec { + name = "gegl-${version}"; + + src = fetchurl { + url = "http://download.gimp.org/pub/gegl/${stdenv.lib.versions.majorMinor version}/${name}.tar.bz2"; + sha256 = "1ighk4z8nlqrzyj8w97s140hzj59564l3xv6fpzbr97m1zx2nkfh"; + }; + + # needs fonts otherwise, don't know how to pass them + configureFlags = [ "--disable-docs" ]; + + enableParallelBuilding = true; + + doCheck = true; + + buildInputs = [ + libpng cairo libjpeg librsvg pango gtk bzip2 + libraw libwebp gnome3.gexiv2 + ]; + + propagatedBuildInputs = [ glib json-glib babl ]; # for gegl-4.0.pc + + nativeBuildInputs = [ pkgconfig intltool which autoreconfHook libintl ]; + + meta = with stdenv.lib; { + description = "Graph-based image processing framework"; + homepage = http://www.gegl.org; + license = licenses.gpl3; + maintainers = with maintainers; [ jtojnar ]; + platforms = platforms.unix; + }; +} |