2016-11-30 06:00:52 +01:00
|
|
|
{ stdenv, fetchurl }:
|
2009-05-31 08:07:25 +02:00
|
|
|
|
2015-04-16 18:04:06 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libffcall-${version}";
|
2016-11-30 06:00:52 +01: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 08:07:25 +02:00
|
|
|
};
|
|
|
|
|
2016-11-30 06:00:52 +01:00
|
|
|
NIX_CFLAGS_COMPILE = "-Wa,--noexecstack";
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--enable-shared"
|
|
|
|
"--disable-static"
|
|
|
|
];
|
2009-05-31 08:07:25 +02:00
|
|
|
|
|
|
|
meta = {
|
2012-02-15 17:30:46 +01:00
|
|
|
description = "Foreign function call library";
|
2016-11-30 06:00:52 +01:00
|
|
|
homepage = http://www.haible.de/bruno/packages-ffcall.html;
|
2015-04-16 18:04:06 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2009-05-31 08:07:25 +02:00
|
|
|
};
|
|
|
|
}
|