mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
libffcall: 1.10 -> 2.0
Thanks to Bruno Haible for a notifying me of this.
This commit is contained in:
parent
39e327eeb5
commit
e2ddc7ffd2
@ -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;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user