Commit 7a2b44a1 authored by Jan Tojnar's avatar Jan Tojnar
Browse files
parent a3a4e82a
Loading
Loading
Loading
Loading
+10 −5
Original line number Diff line number Diff line
@@ -33,11 +33,12 @@
  OpenCL,
  suitesparse,
  withLuaJIT ? lib.meta.availableOn stdenv.hostPlatform luajit,
  gimp,
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
  pname = "gegl";
  version = "0.4.48";
  version = "0.4.50";

  outputs = [
    "out"
@@ -47,8 +48,8 @@ stdenv.mkDerivation rec {
  outputBin = "dev";

  src = fetchurl {
    url = "https://download.gimp.org/pub/gegl/${lib.versions.majorMinor version}/gegl-${version}.tar.xz";
    hash = "sha256-QYwm2UvogF19mPbeDGglyia9dPystsGI2kdTPZ7igkc=";
    url = "https://download.gimp.org/pub/gegl/${lib.versions.majorMinor finalAttrs.version}/gegl-${finalAttrs.version}.tar.xz";
    hash = "sha256-YISWmwbuhspxFCEzdz8n4T8C5aaiLCz85FLsqt23kME=";
  };

  nativeBuildInputs = [
@@ -127,6 +128,10 @@ stdenv.mkDerivation rec {
  # tests fail to connect to the com.apple.fonts daemon in sandboxed mode
  doCheck = !stdenv.hostPlatform.isDarwin;

  passthru = {
    inherit gimp;
  };

  meta = with lib; {
    description = "Graph-based image processing framework";
    homepage = "https://www.gegl.org";
@@ -134,4 +139,4 @@ stdenv.mkDerivation rec {
    maintainers = with maintainers; [ jtojnar ];
    platforms = platforms.unix;
  };
}
})