Skip to content

Commit

Permalink
libffcall: 1.10 -> 2.0
Browse files Browse the repository at this point in the history
Thanks to Bruno Haible for a notifying me of this.
  • Loading branch information
joachifm committed Sep 12, 2017
1 parent 39e327e commit e2ddc7f
Showing 1 changed file with 15 additions and 17 deletions.
32 changes: 15 additions & 17 deletions pkgs/development/libraries/libffcall/default.nix
Expand Up @@ -2,29 +2,27 @@

stdenv.mkDerivation rec {
name = "libffcall-${version}";
version = "1.10";
version = "2.0";

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";
url = "mirror://gnu/libffcall/libffcall-${version}.tar.gz";
sha256 = "0v0rh3vawb8z5q40fs3kr2f9zp06n2fq4rr2ww4562nr96sd5aj1";
};

NIX_CFLAGS_COMPILE = "-Wa,--noexecstack";
enableParallelBuilding = false;

configureFlags = [
"--enable-shared"
"--disable-static"
];
outputs = [ "dev" "out" "doc" "man" ];

meta = {
postInstall = ''
mkdir -p $doc/share/doc/libffcall
mv $out/share/html $doc/share/doc/libffcall
rm -rf $out/share
'';

meta = with stdenv.lib; {
description = "Foreign function call library";
homepage = https://www.haible.de/bruno/packages-ffcall.html;
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.unix;
homepage = https://www.gnu.org/software/libffcall/;
license = licenses.gpl2Plus;
platforms = platforms.unix;
};
}

0 comments on commit e2ddc7f

Please sign in to comment.