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 19:43:40 +01:00
, vala
}:
stdenv.mkDerivation rec {
pname = "babl";
2021-01-19 06:21:58 +00:00
version = "0.1.84";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "https://download.gimp.org/pub/babl/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2021-01-19 06:21:58 +00:00
sha256 = "sha256-5+OLhEH3f+udyCMctDSoYZCiHy82ksKBRX6Z016cNOo=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
gobject-introspection
2020-06-11 19:43:40 +01:00
vala
];
buildInputs = [
lcms2
];
meta = with lib; {
description = "Image pixel format conversion library";
2020-10-23 23:59:33 +01:00
homepage = "https://gegl.org/babl/";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ jtojnar ];
2017-03-11 03:15:02 +00:00
platforms = platforms.unix;
};
}