nixpkgs/pkgs/development/tools/guile/g-wrap/default.nix
Orivej Desh fda26c8476 Merge branch 'master' into staging
* master: (271 commits)
  pysmbc: clarify license
  pysmbc: fix license
  bazel: 0.5.4 -> 0.6.0 (#29990)
  googler: init at 3.3
  go: declare support for aarch64
  firefox-beta-bin: 56.0b5 -> 57.0b4
  spotify: 1.0.64.401.g9d720389-21 -> 1.0.64.407.g9bd02c2d-26
  gogs: 0.11.19 -> 0.11.29
  grafana: 4.5.1 -> 4.5.2
  mopidy-iris: 3.4.1 -> 3.4.9
  nextcloud: 12.0.2 -> 12.0.3
  haskell-json-autotype: jailbreak to fix build within LTS 9.x
  kore: fix up
  kore: init at 2.0.0
  glusterfs service: fix issues with useRpcbind
  tig: 2.2.2 -> 2.3.0
  haskell-hspec-core: enable test suite again
  hackage-packages.nix: automatic Haskell package set update
  librsvg: fix thumbnailer path
  awscli: 1.11.108 -> 1.11.162
  ...
2017-10-02 00:22:12 +00:00

35 lines
1,015 B
Nix

{ fetchurl, stdenv, guile, guile-lib, libffi, pkgconfig, glib }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "g-wrap";
version = "1.9.15";
src = fetchurl {
url = "mirror://savannah/${pname}/${name}.tar.gz";
sha256 = "0ak0bha37dfpj9kmyw1r8fj8nva639aw5xr66wr5gd3l1rqf5xhg";
};
nativeBuildInputs = [ pkgconfig ];
# Note: Glib support is optional, but it's quite useful (e.g., it's used by
# Guile-GNOME).
buildInputs = [ guile glib guile-lib ];
propagatedBuildInputs = [ libffi ];
doCheck = true;
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.
'';
homepage = "http://www.nongnu.org/g-wrap/";
license = licenses.lgpl2Plus;
maintainers = with maintainers; [ vyp ];
platforms = platforms.linux;
};
}