Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenvNoCC 2, lib 3, fetchzip 4}: 5 6stdenvNoCC.mkDerivation rec { 7 pname = "fbc-mac-bin"; 8 version = "1.06-darwin-wip20160505"; 9 10 src = fetchzip { 11 url = "https://tmc.castleparadox.com/temp/fbc-${version}.tar.bz2"; 12 sha256 = "sha256-hD3SRUkk50sf0MhhgHNMvBoJHTKz/71lyFxaAXM4/qI="; 13 }; 14 15 dontConfigure = true; 16 dontBuild = true; 17 18 installPhase = '' 19 runHook preInstall 20 21 mkdir -p $out 22 cp -R * $out 23 24 runHook postInstall 25 ''; 26 27 meta = with lib; { 28 homepage = "https://rpg.hamsterrepublic.com/ohrrpgce/Compiling_in_Mac_OS_X"; 29 description = "FreeBASIC, a multi-platform BASIC Compiler (precompiled Darwin build by OHRRPGCE team)"; 30 sourceProvenance = with sourceTypes; [ binaryNativeCode ]; 31 license = licenses.gpl2Plus; # runtime & graphics libraries are LGPLv2+ w/ static linking exception 32 maintainers = with maintainers; [ OPNA2608 ]; 33 platforms = [ "x86_64-darwin" ]; 34 }; 35}