2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libffcall";
|
2021-08-05 21:33:18 +00:00
|
|
|
version = "2.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/libffcall/libffcall-${version}.tar.gz";
|
2021-08-05 21:33:18 +00:00
|
|
|
sha256 = "sha256-6/o3+XtslPrCTs8xk/n8gpUXz4Gu6awtGRr5k9c8t0c=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
enableParallelBuilding = false;
|
|
|
|
|
|
|
|
outputs = [ "dev" "out" "doc" "man" ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $doc/share/doc/libffcall
|
|
|
|
mv $out/share/html $doc/share/doc/libffcall
|
|
|
|
rm -rf $out/share
|
|
|
|
'';
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Foreign function call library";
|
|
|
|
homepage = "https://www.gnu.org/software/libffcall/";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|