forked from mirrors/nixpkgs
57bccb3cb8
* treewide: http -> https sources This updates the source urls of all top-level packages from http to https where possible. * buildtorrent: fix url and tab -> spaces
39 lines
1.1 KiB
Nix
39 lines
1.1 KiB
Nix
{ 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.2";
|
|
in stdenv.mkDerivation rec {
|
|
name = "gegl-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "https://download.gimp.org/pub/gegl/${stdenv.lib.versions.majorMinor version}/${name}.tar.bz2";
|
|
sha256 = "13bzl0k5l12pk8bkcq4ar7wscbnw7jswhp34mwfsrf10kp0qndba";
|
|
};
|
|
|
|
# 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;
|
|
};
|
|
}
|