2019-08-25 00:05:48 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkgconfig
|
|
|
|
, gobject-introspection
|
|
|
|
, lcms2
|
2020-06-11 19:43:40 +01:00
|
|
|
, vala
|
2019-08-25 00:05:48 +01:00
|
|
|
}:
|
2010-07-28 12:55:54 +01:00
|
|
|
|
2011-10-05 15:45:49 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-06-14 09:29:09 +01:00
|
|
|
pname = "babl";
|
2020-06-11 19:43:40 +01:00
|
|
|
version = "0.1.78";
|
2019-08-25 00:05:48 +01:00
|
|
|
|
|
|
|
outputs = [ "out" "dev" ];
|
2008-04-04 16:11:27 +01:00
|
|
|
|
2010-07-28 12:55:54 +01:00
|
|
|
src = fetchurl {
|
2019-08-25 00:05:48 +01:00
|
|
|
url = "https://download.gimp.org/pub/babl/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-06-11 19:43:40 +01:00
|
|
|
sha256 = "F9VJNjO/9VhdnzdbxN9ZJRV80ccMzXwipjW+dcFyUjo=";
|
2008-04-04 16:11:27 +01:00
|
|
|
};
|
|
|
|
|
2019-08-25 00:05:48 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkgconfig
|
|
|
|
gobject-introspection
|
2020-06-11 19:43:40 +01:00
|
|
|
vala
|
2019-08-25 00:05:48 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
lcms2
|
|
|
|
];
|
|
|
|
|
2017-12-05 23:14:27 +00:00
|
|
|
meta = with stdenv.lib; {
|
2010-07-28 12:55:54 +01:00
|
|
|
description = "Image pixel format conversion library";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://gegl.org/babl/";
|
2017-03-11 03:15:02 +00:00
|
|
|
license = licenses.gpl3;
|
2017-12-05 23:14:27 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ jtojnar ];
|
2017-03-11 03:15:02 +00:00
|
|
|
platforms = platforms.unix;
|
2008-04-04 16:11:27 +01:00
|
|
|
};
|
|
|
|
}
|