2016-11-30 05:00:52 +00:00
|
|
|
{ stdenv, fetchurl }:
|
2009-05-31 07:07:25 +01:00
|
|
|
|
2015-04-16 17:04:06 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libffcall-${version}";
|
2016-11-30 05:00:52 +00:00
|
|
|
version = "1.10";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
urls = [
|
|
|
|
# Europe
|
|
|
|
"http://www.haible.de/bruno/gnu/ffcall-${version}.tar.gz"
|
|
|
|
# USA
|
|
|
|
"ftp://ftp.santafe.edu/pub/gnu/ffcall-${version}.tar.gz"
|
|
|
|
];
|
|
|
|
sha256 = "0gcqljx4f8wrq59y13zzigwzaxdrz3jf9cbzcd8h0b2br27mn6vg";
|
2009-05-31 07:07:25 +01:00
|
|
|
};
|
|
|
|
|
2016-11-30 05:00:52 +00:00
|
|
|
NIX_CFLAGS_COMPILE = "-Wa,--noexecstack";
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--enable-shared"
|
|
|
|
"--disable-static"
|
|
|
|
];
|
2009-05-31 07:07:25 +01:00
|
|
|
|
|
|
|
meta = {
|
2012-02-15 16:30:46 +00:00
|
|
|
description = "Foreign function call library";
|
2017-08-02 22:50:51 +01:00
|
|
|
homepage = https://www.haible.de/bruno/packages-ffcall.html;
|
2015-04-16 17:04:06 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2009-05-31 07:07:25 +01:00
|
|
|
};
|
|
|
|
}
|