1 { fetchurl, lib, stdenv, guile, guile-lib, libffi, pkg-config, glib }:
3 stdenv.mkDerivation rec {
8 url = "mirror://savannah/${pname}/${pname}-${version}.tar.gz";
9 sha256 = "0ak0bha37dfpj9kmyw1r8fj8nva639aw5xr66wr5gd3l1rqf5xhg";
12 nativeBuildInputs = [ pkg-config ];
14 # Note: Glib support is optional, but it's quite useful (e.g., it's used by
16 buildInputs = [ guile glib guile-lib ];
18 propagatedBuildInputs = [ libffi ];
20 env.NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
25 description = "Wrapper generator for Guile";
26 mainProgram = "g-wrap-config";
28 G-Wrap is a tool (and Guile library) for generating function wrappers for
29 inter-language calls. It currently only supports generating Guile
30 wrappers for C functions.
32 homepage = "https://www.nongnu.org/g-wrap/";
33 license = licenses.lgpl2Plus;
34 maintainers = with maintainers; [ vyp ];
35 platforms = platforms.linux;