2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2009-05-31 06:07:25 +00:00
|
|
|
|
2015-04-16 16:04:06 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "libffcall";
|
2021-01-29 21:01:00 +00:00
|
|
|
version = "2.2";
|
2016-11-30 05:00:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-09-11 03:56:52 +00:00
|
|
|
url = "mirror://gnu/libffcall/libffcall-${version}.tar.gz";
|
2021-01-29 21:01:00 +00:00
|
|
|
sha256 = "sha256-6/o3+XtslPrCTs8xk/n8gpUXz4Gu6awtGRr5k9c8t0c=";
|
2009-05-31 06:07:25 +00:00
|
|
|
};
|
|
|
|
|
2017-09-11 03:56:52 +00:00
|
|
|
enableParallelBuilding = false;
|
2016-11-30 05:00:52 +00:00
|
|
|
|
2017-09-11 03:56:52 +00:00
|
|
|
outputs = [ "dev" "out" "doc" "man" ];
|
2009-05-31 06:07:25 +00:00
|
|
|
|
2017-09-11 03:56:52 +00:00
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $doc/share/doc/libffcall
|
|
|
|
mv $out/share/html $doc/share/doc/libffcall
|
|
|
|
rm -rf $out/share
|
|
|
|
'';
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2012-02-15 16:30:46 +00:00
|
|
|
description = "Foreign function call library";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.gnu.org/software/libffcall/";
|
2017-09-11 03:56:52 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.unix;
|
2022-12-06 20:47:40 +00:00
|
|
|
# never built on aarch64-darwin since first introduction in nixpkgs
|
|
|
|
broken = stdenv.isDarwin && stdenv.isAarch64;
|
2009-05-31 06:07:25 +00:00
|
|
|
};
|
|
|
|
}
|