blob: dbf7afd596fbbb375c1b52ad4a0e54884b9af14c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{ stdenv
, fetchurl
, meson
, ninja
, pkgconfig
, gobject-introspection
, lcms2
}:
stdenv.mkDerivation rec {
pname = "babl";
version = "0.1.74";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "https://download.gimp.org/pub/babl/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "03nfcvy3453xkfvsfcnsfcjf2vg2pin09qnr9jlssdysa1lhnwcs";
};
nativeBuildInputs = [
meson
ninja
pkgconfig
gobject-introspection
];
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;
};
}
|