1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/libffcall/default.nix

31 lines
704 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "libffcall-${version}";
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";
};
NIX_CFLAGS_COMPILE = "-Wa,--noexecstack";
configureFlags = [
"--enable-shared"
"--disable-static"
];
meta = {
description = "Foreign function call library";
homepage = http://www.haible.de/bruno/packages-ffcall.html;
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.unix;
};
}