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-02-28 17:40:33 +00:00
version = "0.1.86";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "https://download.gimp.org/pub/babl/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2021-02-28 17:40:33 +00:00
sha256 = "sha256-Cz9ZUVmtGyFs1ynAUEw6X2z3gMZB9Nxj/BZPPAOCyPA=";
};
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;
};
}