nixpkgs/pkgs/development/ocaml-modules/cairo2/default.nix

32 lines
943 B
Nix
Raw Normal View History

{ stdenv, lib, fetchurl, buildDunePackage
, pkgconfig, cairo
2014-10-31 14:14:17 +01:00
}:
buildDunePackage rec {
pname = "cairo2";
2019-05-10 13:59:51 +02:00
version = "0.6.1";
2014-10-31 14:14:17 +01:00
src = fetchurl {
url = "https://github.com/Chris00/ocaml-cairo/releases/download/${version}/cairo2-${version}.tbz";
2019-05-10 13:59:51 +02:00
sha256 = "1ik4qf4b9443sliq2z7x9acd40rmzvyzjh3bh98wvjklxbb84a9i";
2014-10-31 14:14:17 +01:00
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ cairo ];
2014-10-31 14:14:17 +01:00
doCheck = !stdenv.isDarwin;
2014-10-31 14:14:17 +01:00
meta = {
2017-12-09 09:38:50 +01:00
homepage = "https://github.com/Chris00/ocaml-cairo";
2014-10-31 14:14:17 +01:00
description = "Binding to Cairo, a 2D Vector Graphics Library";
longDescription = ''
This is a binding to Cairo, a 2D graphics library with support for
multiple output devices. Currently supported output targets include
the X Window System, Quartz, Win32, image buffers, PostScript, PDF,
and SVG file output.
'';
license = lib.licenses.lgpl3;
maintainers = with lib.maintainers; [ jirkamarsik vbgl ];
2014-10-31 14:14:17 +01:00
};
}