Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 24.05-beta 28 lines 667 B view raw
1{ lib, stdenv, fetchurl }: 2 3stdenv.mkDerivation rec { 4 pname = "libffcall"; 5 version = "2.4"; 6 7 src = fetchurl { 8 url = "mirror://gnu/libffcall/libffcall-${version}.tar.gz"; 9 sha256 = "sha256-jvaZIdvcBrxbuQUTYiY3p7g6cfMfW6N3vp2P2PV5EsI="; 10 }; 11 12 enableParallelBuilding = false; 13 14 outputs = [ "dev" "out" "doc" "man" ]; 15 16 postInstall = '' 17 mkdir -p $doc/share/doc/libffcall 18 mv $out/share/html $doc/share/doc/libffcall 19 rm -rf $out/share 20 ''; 21 22 meta = with lib; { 23 description = "Foreign function call library"; 24 homepage = "https://www.gnu.org/software/libffcall/"; 25 license = licenses.gpl2Plus; 26 platforms = platforms.unix; 27 }; 28}