nixpkgs-suyu/pkgs/development/tools/guile/g-wrap/default.nix

31 lines
946 B
Nix
Raw Normal View History

2015-07-22 19:55:23 +02:00
{ fetchurl, stdenv, guile, libffi, pkgconfig, glib, guile_lib }:
stdenv.mkDerivation rec {
2015-07-22 19:55:23 +02:00
name = "g-wrap-1.9.15";
src = fetchurl {
url = "mirror://savannah/g-wrap/${name}.tar.gz";
2015-07-22 19:55:23 +02:00
sha256 = "140fcvp24pqmfmiibhjxl3s75hj26ln7pkl2wxas84lnchbj9m4d";
};
# Note: Glib support is optional, but it's quite useful (e.g., it's
# used by Guile-GNOME).
buildInputs = [ guile pkgconfig glib ]
++ stdenv.lib.optional doCheck guile_lib;
propagatedBuildInputs = [ libffi ];
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 = stdenv.lib.licenses.lgpl2Plus;
2015-07-22 19:55:23 +02:00
maintainers = [ stdenv.lib.maintainers.taktoa ];
};
}