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