2017-09-24 12:03:56 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, guile, guile-lib, cairo, expat }:
|
2009-10-05 23:21:24 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-09-24 12:03:56 +01:00
|
|
|
name = "guile-cairo-${version}";
|
|
|
|
version = "1.4.1";
|
2009-10-05 23:21:24 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.gna.org/guile-cairo/${name}.tar.gz";
|
2011-04-23 22:15:06 +01:00
|
|
|
sha256 = "1f5nd9n46n6cwfl1byjml02q3y2hgn7nkx98km1czgwarxl7ws3x";
|
2009-10-05 23:21:24 +01:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2017-09-28 17:32:57 +01:00
|
|
|
|
2018-08-08 19:29:02 +01:00
|
|
|
buildInputs = [ guile cairo expat ];
|
|
|
|
checkInputs = [ guile-lib ];
|
2009-10-05 23:21:24 +01:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2017-09-24 12:03:56 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "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.
|
|
|
|
'';
|
|
|
|
homepage = "http://home.gna.org/guile-cairo/";
|
|
|
|
license = licenses.lgpl3Plus;
|
|
|
|
maintainers = with maintainers; [ vyp ];
|
|
|
|
platforms = platforms.linux;
|
2009-10-05 23:21:24 +01:00
|
|
|
};
|
|
|
|
}
|