mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 18:53:17 +00:00
21f17d69f6
Build-tested on x86_64 Linux & Mac.
38 lines
1.1 KiB
Nix
38 lines
1.1 KiB
Nix
{ fetchurl, stdenv, guile, pkgconfig, cairo, expat, guile_lib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "guile-cairo-1.4.1";
|
|
|
|
src = fetchurl {
|
|
url = "http://download.gna.org/guile-cairo/${name}.tar.gz";
|
|
sha256 = "1f5nd9n46n6cwfl1byjml02q3y2hgn7nkx98km1czgwarxl7ws3x";
|
|
};
|
|
|
|
buildInputs = [ guile pkgconfig cairo expat ]
|
|
++ stdenv.lib.optional doCheck guile_lib;
|
|
|
|
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 = stdenv.lib.licenses.lgpl3Plus;
|
|
|
|
homepage = http://home.gna.org/guile-cairo/;
|
|
|
|
maintainers = [ ];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|