mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 01:20:40 +00:00
f3282c8d1e
* treewide: remove unused variables * making ofborg happy
38 lines
1 KiB
Nix
38 lines
1 KiB
Nix
{ stdenv, fetchurl, pkgconfig, glib, babl, libpng, cairo, libjpeg, which
|
|
, librsvg, pango, gtk, bzip2, json-glib, gettext, autoreconfHook, libraw
|
|
, gexiv2, libwebp, libintl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gegl";
|
|
version = "0.4.16";
|
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
|
outputBin = "dev";
|
|
|
|
src = fetchurl {
|
|
url = "https://download.gimp.org/pub/gegl/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
|
|
sha256 = "0njydcr6qdmfzh4fxx544681qxdpf7y6b2f47jcypn810dlxy4h1";
|
|
};
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
doCheck = true;
|
|
|
|
buildInputs = [
|
|
libpng cairo libjpeg librsvg pango gtk bzip2
|
|
libraw libwebp gexiv2
|
|
];
|
|
|
|
propagatedBuildInputs = [ glib json-glib babl ]; # for gegl-4.0.pc
|
|
|
|
nativeBuildInputs = [ pkgconfig gettext 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;
|
|
};
|
|
}
|