depot/third_party/nixpkgs/pkgs/development/libraries/babl/default.nix
Default email 0eaa97ffad Project import generated by Copybara.
GitOrigin-RevId: c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38
2020-08-20 19:08:02 +02:00

41 lines
787 B
Nix

{ stdenv
, fetchurl
, meson
, ninja
, pkgconfig
, gobject-introspection
, lcms2
, vala
}:
stdenv.mkDerivation rec {
pname = "babl";
version = "0.1.80";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "https://download.gimp.org/pub/babl/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "13jgq2i1xkbqw9ijy8sy5iabf5jkviqi0wxlpjcm0n22mwwwqp7p";
};
nativeBuildInputs = [
meson
ninja
pkgconfig
gobject-introspection
vala
];
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;
};
}