nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv
2, fetchurl
3, meson
4, ninja
5, pkgconfig
6, gobject-introspection
7, lcms2
8, vala
9}:
10
11stdenv.mkDerivation rec {
12 pname = "babl";
13 version = "0.1.80";
14
15 outputs = [ "out" "dev" ];
16
17 src = fetchurl {
18 url = "https://download.gimp.org/pub/babl/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
19 sha256 = "13jgq2i1xkbqw9ijy8sy5iabf5jkviqi0wxlpjcm0n22mwwwqp7p";
20 };
21
22 nativeBuildInputs = [
23 meson
24 ninja
25 pkgconfig
26 gobject-introspection
27 vala
28 ];
29
30 buildInputs = [
31 lcms2
32 ];
33
34 meta = with stdenv.lib; {
35 description = "Image pixel format conversion library";
36 homepage = "http://gegl.org/babl/";
37 license = licenses.gpl3;
38 maintainers = with stdenv.lib.maintainers; [ jtojnar ];
39 platforms = platforms.unix;
40 };
41}