inform6: init at 6.34-6.12.2

nixpkgs already has Inform 7, which is a lovely design system for creating interactive fiction (text adventures) using a natural language compiler and a rich IDE. However, underlying Inform 7 is a C-like language, Inform 6, which has a much simpler toolchain and its own compiler and standard libraries, which I have packaged for nix here.
This commit is contained in:
Dominic Delabruere 2020-07-28 16:21:44 -04:00
parent 703b8ef3f3
commit 406509dcae
3 changed files with 36 additions and 0 deletions

View file

@ -1918,6 +1918,12 @@
githubId = 14032;
name = "Daniel Brockman";
};
ddelabru = {
email = "ddelabru@redhat.com";
github = "ddelabru";
githubId = 39909293;
name = "Dominic Delabruere";
};
dduan = {
email = "daniel@duan.ca";
github = "dduan";

View file

@ -0,0 +1,28 @@
{ stdenv, fetchurl, perl }:
stdenv.mkDerivation rec {
pname = "inform6";
version = "6.34-6.12.2";
src = fetchurl {
url = "https://ifarchive.org/if-archive/infocom/compilers/inform6/source/inform-${version}.tar.gz";
sha256 = "c149f143f2c29a4cb071e578afef8097647cc9e823f7fcfab518ac321d9d259f";
};
buildInputs = [ perl ];
makeFlags = [ "PREFIX=${placeholder "out"}" ];
meta = with stdenv.lib; {
description = "Interactive fiction compiler and libraries";
longDescription = ''
Inform 6 is a C-like programming language for writing interactive fiction
(text adventure) games.
'';
homepage = "https://gitlab.com/DavidGriffith/inform6unix";
changelog = "https://gitlab.com/DavidGriffith/inform6unix/-/raw/${version}/NEWS";
license = licenses.artistic2;
maintainers = with stdenv.lib.maintainers; [ ddelabru ];
platforms = platforms.all;
};
}

View file

@ -4370,6 +4370,8 @@ in
inetutils = callPackage ../tools/networking/inetutils { };
inform6 = callPackage ../development/compilers/inform6 { };
inform7 = callPackage ../development/compilers/inform7 { };
infamousPlugins = callPackage ../applications/audio/infamousPlugins { };