-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
20 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,35 @@ | ||
{ fetchurl, stdenv, guile, libffi, pkgconfig, glib, guile-lib }: | ||
{ fetchurl, stdenv, guile, guile-lib, libffi, pkgconfig, glib }: | ||
|
||
let | ||
name = "${pname}-${version}"; | ||
pname = "g-wrap"; | ||
version = "1.9.15"; | ||
in stdenv.mkDerivation { | ||
inherit name; | ||
|
||
stdenv.mkDerivation rec { | ||
name = "g-wrap-1.9.15"; | ||
src = fetchurl { | ||
url = "mirror://savannah/g-wrap/${name}.tar.gz"; | ||
url = "mirror://savannah/${pname}/${name}.tar.gz"; | ||
sha256 = "0ak0bha37dfpj9kmyw1r8fj8nva639aw5xr66wr5gd3l1rqf5xhg"; | ||
}; | ||
|
||
# Note: Glib support is optional, but it's quite useful (e.g., it's | ||
# used by Guile-GNOME). | ||
# 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"; | ||
meta = with stdenv.lib; { | ||
description = "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. | ||
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; | ||
homepage = "http://www.nongnu.org/g-wrap/"; | ||
license = licenses.lgpl2Plus; | ||
maintainers = with maintainers; [ taktoa ]; | ||
platforms = platforms.linux; | ||
}; | ||
} |