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