2008-04-09 09:56:52 +02:00
|
|
|
{ fetchurl, stdenv, guile, libffi, pkgconfig, glib
|
2010-09-06 09:58:17 +02:00
|
|
|
, guile_lib }:
|
2008-04-09 09:56:52 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2009-10-29 12:23:10 +01:00
|
|
|
name = "g-wrap-1.9.13";
|
2008-04-09 09:56:52 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://savannah/g-wrap/${name}.tar.gz";
|
2009-10-29 12:23:10 +01:00
|
|
|
sha256 = "0fc874zlwzjahyliqnva1zfsv0chlx4cvfhwchij9n2d3kmsss9v";
|
2008-04-09 09:56:52 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
# Note: Glib support is optional, but it's quite useful (e.g., it's
|
2009-10-06 00:21:45 +02:00
|
|
|
# used by Guile-GNOME).
|
|
|
|
buildInputs = [ guile pkgconfig glib ]
|
2010-09-06 09:58:17 +02:00
|
|
|
++ stdenv.lib.optional doCheck guile_lib;
|
2009-10-06 00:21:45 +02:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ libffi ];
|
2008-04-09 09:56:52 +02:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "G-Wrap, a wrapper generator for Guile";
|
|
|
|
longDescription = ''
|
|
|
|
G-Wrap is a tool (and Guile library) for generating function
|
|
|
|
wrappers for inter-language calls. It currently only supports
|
|
|
|
generating Guile wrappers for C functions.
|
|
|
|
'';
|
|
|
|
homepage = http://www.nongnu.org/g-wrap/;
|
|
|
|
license = "LGPLv2+";
|
2009-10-06 00:21:45 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
2008-04-09 09:56:52 +02:00
|
|
|
};
|
|
|
|
}
|