2011-04-23 21:15:06 +00:00
|
|
|
{ fetchurl, stdenv, guile, pkgconfig, cairo, expat, guile_lib }:
|
2009-10-05 22:21:24 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2011-04-23 21:15:06 +00:00
|
|
|
name = "guile-cairo-1.4.1";
|
2009-10-05 22:21:24 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.gna.org/guile-cairo/${name}.tar.gz";
|
2011-04-23 21:15:06 +00:00
|
|
|
sha256 = "1f5nd9n46n6cwfl1byjml02q3y2hgn7nkx98km1czgwarxl7ws3x";
|
2009-10-05 22:21:24 +00:00
|
|
|
};
|
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ guile cairo expat ]
|
2010-09-06 07:58:17 +00:00
|
|
|
++ stdenv.lib.optional doCheck guile_lib;
|
2009-10-05 22:21:24 +00:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Guile-Cairo, Cairo bindings for GNU Guile";
|
|
|
|
|
|
|
|
longDescription =
|
|
|
|
'' Guile-Cairo wraps the Cairo graphics library for Guile Scheme.
|
|
|
|
|
|
|
|
Guile-Cairo is complete, wrapping almost all of the Cairo API. It
|
|
|
|
is API stable, providing a firm base on which to do graphics work.
|
|
|
|
Finally, and importantly, it is pleasant to use. You get a powerful
|
|
|
|
and well-maintained graphics library with all of the benefits of
|
|
|
|
Scheme: memory management, exceptions, macros, and a dynamic
|
|
|
|
programming environment.
|
|
|
|
'';
|
|
|
|
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.lgpl3Plus;
|
2009-10-05 22:21:24 +00:00
|
|
|
|
|
|
|
homepage = http://home.gna.org/guile-cairo/;
|
|
|
|
|
2015-01-13 21:33:24 +00:00
|
|
|
maintainers = [ ];
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-10-05 22:21:24 +00:00
|
|
|
};
|
|
|
|
}
|