1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/pkgs/development/tools/guile/g-wrap/default.nix
2016-12-25 01:41:25 -05:00

31 lines
955 B
Nix

{ fetchurl, stdenv, guile, libffi, pkgconfig, glib, guile_lib }:
stdenv.mkDerivation rec {
name = "g-wrap-1.9.15";
src = fetchurl {
url = "mirror://savannah/g-wrap/${name}.tar.gz";
sha256 = "0ak0bha37dfpj9kmyw1r8fj8nva639aw5xr66wr5gd3l1rqf5xhg";
};
# Note: Glib support is optional, but it's quite useful (e.g., it's
# used by Guile-GNOME).
buildInputs = [ guile pkgconfig glib 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;
maintainers = [ stdenv.lib.maintainers.taktoa ];
platforms = stdenv.lib.platforms.linux;
};
}