nixpkgs/pkgs/development/libraries/babl/default.nix

42 lines
774 B
Nix
Raw Normal View History

{ lib, stdenv
, fetchurl
, meson
, ninja
, pkg-config
, gobject-introspection
, lcms2
2020-06-11 18:43:40 +00:00
, vala
}:
stdenv.mkDerivation rec {
pname = "babl";
2021-07-03 02:41:25 +00:00
version = "0.1.88";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "https://download.gimp.org/pub/babl/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2021-07-03 02:41:25 +00:00
sha256 = "sha256-Tw1/SqoLsucl80mt97NRqVfZ+ybVVdmJWnr4FrQWcDk=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
gobject-introspection
2020-06-11 18:43:40 +00:00
vala
];
buildInputs = [
lcms2
];
meta = with lib; {
description = "Image pixel format conversion library";
2020-10-23 22:59:33 +00:00
homepage = "https://gegl.org/babl/";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ jtojnar ];
2017-03-11 03:15:02 +00:00
platforms = platforms.unix;
};
}