d7dbe45cea
GitOrigin-RevId: 9480bae337095fd24f61380bce3174fdfe926a00
41 lines
779 B
Nix
41 lines
779 B
Nix
{ stdenv
|
|
, fetchurl
|
|
, meson
|
|
, ninja
|
|
, pkgconfig
|
|
, gobject-introspection
|
|
, lcms2
|
|
, vala
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "babl";
|
|
version = "0.1.78";
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
src = fetchurl {
|
|
url = "https://download.gimp.org/pub/babl/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "F9VJNjO/9VhdnzdbxN9ZJRV80ccMzXwipjW+dcFyUjo=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkgconfig
|
|
gobject-introspection
|
|
vala
|
|
];
|
|
|
|
buildInputs = [
|
|
lcms2
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Image pixel format conversion library";
|
|
homepage = "http://gegl.org/babl/";
|
|
license = licenses.gpl3;
|
|
maintainers = with stdenv.lib.maintainers; [ jtojnar ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|