Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 31 lines 926 B view raw
1{ lib, stdenv, fetchurl, perl }: 2 3stdenv.mkDerivation rec { 4 pname = "inform6"; 5 version = "6.42-r2"; 6 7 src = fetchurl { 8 url = "https://ifarchive.org/if-archive/infocom/compilers/inform6/source/inform-${version}.tar.gz"; 9 sha256 = "sha256-zNm7z2nJlxaHRcZ7Ad8t1jZW999o9WFHrEnqlOJLdk0="; 10 }; 11 12 buildInputs = [ perl ]; 13 14 makeFlags = [ 15 "CC=${stdenv.cc.targetPrefix}cc" 16 "PREFIX=${placeholder "out"}" 17 ]; 18 19 meta = with lib; { 20 description = "Interactive fiction compiler and libraries"; 21 longDescription = '' 22 Inform 6 is a C-like programming language for writing interactive fiction 23 (text adventure) games. 24 ''; 25 homepage = "https://gitlab.com/DavidGriffith/inform6unix"; 26 changelog = "https://gitlab.com/DavidGriffith/inform6unix/-/raw/${version}/NEWS"; 27 license = licenses.artistic2; 28 maintainers = with lib.maintainers; [ ddelabru ]; 29 platforms = platforms.all; 30 }; 31}