2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv
|
2019-08-24 23:05:48 +00:00
|
|
|
, fetchurl
|
|
|
|
, meson
|
|
|
|
, ninja
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2019-08-24 23:05:48 +00:00
|
|
|
, gobject-introspection
|
|
|
|
, lcms2
|
2020-06-11 18:43:40 +00:00
|
|
|
, vala
|
2019-08-24 23:05:48 +00:00
|
|
|
}:
|
2010-07-28 11:55:54 +00:00
|
|
|
|
2011-10-05 14:45:49 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-06-14 08:29:09 +00:00
|
|
|
pname = "babl";
|
2021-07-03 02:41:25 +00:00
|
|
|
version = "0.1.88";
|
2019-08-24 23:05:48 +00:00
|
|
|
|
|
|
|
outputs = [ "out" "dev" ];
|
2008-04-04 15:11:27 +00:00
|
|
|
|
2010-07-28 11:55:54 +00:00
|
|
|
src = fetchurl {
|
2021-01-21 17:00:13 +00:00
|
|
|
url = "https://download.gimp.org/pub/babl/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2021-07-03 02:41:25 +00:00
|
|
|
sha256 = "sha256-Tw1/SqoLsucl80mt97NRqVfZ+ybVVdmJWnr4FrQWcDk=";
|
2008-04-04 15:11:27 +00:00
|
|
|
};
|
|
|
|
|
2019-08-24 23:05:48 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2019-08-24 23:05:48 +00:00
|
|
|
gobject-introspection
|
2020-06-11 18:43:40 +00:00
|
|
|
vala
|
2019-08-24 23:05:48 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
lcms2
|
|
|
|
];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2010-07-28 11:55:54 +00:00
|
|
|
description = "Image pixel format conversion library";
|
2020-10-23 22:59:33 +00:00
|
|
|
homepage = "https://gegl.org/babl/";
|
|
|
|
license = licenses.lgpl3Plus;
|
|
|
|
maintainers = with maintainers; [ jtojnar ];
|
2017-03-11 03:15:02 +00:00
|
|
|
platforms = platforms.unix;
|
2008-04-04 15:11:27 +00:00
|
|
|
};
|
|
|
|
}
|