1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/libffcall/default.nix

29 lines
678 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "libffcall-${version}";
version = "2.0";
src = fetchurl {
url = "mirror://gnu/libffcall/libffcall-${version}.tar.gz";
sha256 = "0v0rh3vawb8z5q40fs3kr2f9zp06n2fq4rr2ww4562nr96sd5aj1";
};
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
'';
meta = with stdenv.lib; {
description = "Foreign function call library";
homepage = https://www.gnu.org/software/libffcall/;
license = licenses.gpl2Plus;
platforms = platforms.unix;
};
}