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}";
|
2017-09-11 05:56:52 +02:00
|
|
|
version = "2.0";
|
2016-11-30 06:00:52 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-09-11 05:56:52 +02:00
|
|
|
url = "mirror://gnu/libffcall/libffcall-${version}.tar.gz";
|
|
|
|
sha256 = "0v0rh3vawb8z5q40fs3kr2f9zp06n2fq4rr2ww4562nr96sd5aj1";
|
2009-05-31 08:07:25 +02:00
|
|
|
};
|
|
|
|
|
2017-09-11 05:56:52 +02:00
|
|
|
enableParallelBuilding = false;
|
2016-11-30 06:00:52 +01:00
|
|
|
|
2017-09-11 05:56:52 +02:00
|
|
|
outputs = [ "dev" "out" "doc" "man" ];
|
2009-05-31 08:07:25 +02:00
|
|
|
|
2017-09-11 05:56:52 +02:00
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $doc/share/doc/libffcall
|
|
|
|
mv $out/share/html $doc/share/doc/libffcall
|
|
|
|
rm -rf $out/share
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2012-02-15 17:30:46 +01:00
|
|
|
description = "Foreign function call library";
|
2017-09-11 05:56:52 +02:00
|
|
|
homepage = https://www.gnu.org/software/libffcall/;
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.unix;
|
2009-05-31 08:07:25 +02:00
|
|
|
};
|
|
|
|
}
|