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

42 lines
787 B
Nix
Raw Normal View History

{ stdenv
, fetchurl
, meson
, ninja
, pkgconfig
, gobject-introspection
, lcms2
2020-06-11 19:43:40 +01:00
, vala
}:
stdenv.mkDerivation rec {
pname = "babl";
2020-08-13 03:50:07 +01:00
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";
2020-08-13 03:50:07 +01:00
sha256 = "13jgq2i1xkbqw9ijy8sy5iabf5jkviqi0wxlpjcm0n22mwwwqp7p";
};
nativeBuildInputs = [
meson
ninja
pkgconfig
gobject-introspection
2020-06-11 19:43:40 +01:00
vala
];
buildInputs = [
lcms2
];
2017-12-05 23:14:27 +00:00
meta = with stdenv.lib; {
description = "Image pixel format conversion library";
homepage = "http://gegl.org/babl/";
2017-03-11 03:15:02 +00:00
license = licenses.gpl3;
2017-12-05 23:14:27 +00:00
maintainers = with stdenv.lib.maintainers; [ jtojnar ];
2017-03-11 03:15:02 +00:00
platforms = platforms.unix;
};
}