at 23.11-beta 44 lines 901 B view raw
1{ stdenv 2, lib 3, fetchpatch 4, fetchurl 5, meson 6, ninja 7, pkg-config 8, gobject-introspection 9, lcms2 10, vala 11}: 12 13stdenv.mkDerivation rec { 14 pname = "babl"; 15 version = "0.1.106"; 16 17 outputs = [ "out" "dev" ]; 18 19 src = fetchurl { 20 url = "https://download.gimp.org/pub/babl/${lib.versions.majorMinor version}/babl-${version}.tar.xz"; 21 hash = "sha256-0yUTXTME8IjBNMxiABOs8DXeLl0SWlCi2RBU5zd8QV8="; 22 }; 23 24 nativeBuildInputs = [ 25 meson 26 ninja 27 pkg-config 28 gobject-introspection 29 vala 30 ]; 31 32 buildInputs = [ 33 lcms2 34 ]; 35 36 meta = with lib; { 37 description = "Image pixel format conversion library"; 38 homepage = "https://gegl.org/babl/"; 39 changelog = "https://gitlab.gnome.org/GNOME/babl/-/blob/BABL_${lib.replaceStrings [ "." ] [ "_" ] version}/NEWS"; 40 license = licenses.lgpl3Plus; 41 maintainers = with maintainers; [ jtojnar ]; 42 platforms = platforms.unix; 43 }; 44}