6 , gobject-introspection
37 stdenv.mkDerivation rec {
41 outputs = [ "out" "dev" "devdoc" ];
45 url = "https://download.gimp.org/pub/gegl/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
46 sha256 = "sha256-5KM8hDClBC+6hDm1lTSOcYcPDZX7+IX/VT+QIMG+11A=";
80 ] ++ lib.optional stdenv.isDarwin OpenCL;
83 propagatedBuildInputs = [
91 "-Dmrg=disabled" # not sure what that is
93 "-Dpygobject=disabled"
97 # Disabled due to multiple vulnerabilities, see
98 # https://github.com/NixOS/nixpkgs/pull/73586
102 # TODO: Fix missing math symbols in gegl seamless clone.
103 # It only appears when we use packaged poly2tri-c instead of vendored one.
104 NIX_CFLAGS_COMPILE = "-lm";
107 chmod +x tests/opencl/opencl_test.sh
108 patchShebangs tests/ff-load-save/tests_ff_load_save.sh tests/opencl/opencl_test.sh tools/xml_insert.sh
111 # tests fail to connect to the com.apple.fonts daemon in sandboxed mode
112 doCheck = !stdenv.isDarwin;
115 description = "Graph-based image processing framework";
116 homepage = "https://www.gegl.org";
117 license = licenses.lgpl3Plus;
118 maintainers = with maintainers; [ jtojnar ];
119 platforms = platforms.unix;