2016-11-29 21:00:52 -08:00
|
|
|
{ stdenv, fetchurl }:
|
2009-05-30 23:07:25 -07:00
|
|
|
|
2015-04-16 09:04:06 -07:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libffcall-${version}";
|
2018-02-26 20:27:03 -08:00
|
|
|
version = "2.1";
|
2016-11-29 21:00:52 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-09-10 20:56:52 -07:00
|
|
|
url = "mirror://gnu/libffcall/libffcall-${version}.tar.gz";
|
2018-02-26 20:27:03 -08:00
|
|
|
sha256 = "0iwcad6w78jp84vd6xaz5fwqm84n3cb42bdf5m5cj5xzpa5zp4d0";
|
2009-05-30 23:07:25 -07:00
|
|
|
};
|
|
|
|
|
2017-09-10 20:56:52 -07:00
|
|
|
enableParallelBuilding = false;
|
2016-11-29 21:00:52 -08:00
|
|
|
|
2017-09-10 20:56:52 -07:00
|
|
|
outputs = [ "dev" "out" "doc" "man" ];
|
2009-05-30 23:07:25 -07:00
|
|
|
|
2017-09-10 20:56:52 -07: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 08:30:46 -08:00
|
|
|
description = "Foreign function call library";
|
2017-09-10 20:56:52 -07:00
|
|
|
homepage = https://www.gnu.org/software/libffcall/;
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.unix;
|
2009-05-30 23:07:25 -07:00
|
|
|
};
|
|
|
|
}
|