1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-22 14:45:27 +00:00

Add Guile-Cairo.

svn path=/nixpkgs/trunk/; revision=17653
This commit is contained in:
Ludovic Courtès 2009-10-05 22:21:24 +00:00
parent 92dbfb5b9d
commit 9fe05496fb
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ fetchurl, stdenv, guile, pkgconfig, cairo, guileLib }:
stdenv.mkDerivation rec {
name = "guile-cairo-1.4.0";
src = fetchurl {
url = "http://download.gna.org/guile-cairo/${name}.tar.gz";
sha256 = "01wmpflfyxh239b5xvm41qn24z9k414klcqyh46r6xwvq2vd9mds";
};
buildInputs = [ guile pkgconfig cairo ]
++ stdenv.lib.optional doCheck guileLib;
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.
'';
license = "LGPLv2+";
homepage = http://home.gna.org/guile-cairo/;
maintainers = [ stdenv.lib.maintainers.ludo ];
};
}

View file

@ -2435,6 +2435,10 @@ let
inherit fetchurl stdenv;
};
guileCairo = import ../development/guile-modules/guile-cairo {
inherit fetchurl stdenv guile pkgconfig cairo guileLib;
};
guileLib = import ../development/guile-modules/guile-lib {
inherit fetchurl stdenv guile texinfo;
};