2021-01-22 11:25:31 +00:00
|
|
|
{ lib, stdenv, fetchurl, perl }:
|
2020-07-28 21:21:44 +01:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
|
2021-05-16 12:35:14 +01:00
|
|
|
makeFlags = [
|
|
|
|
"CC=${stdenv.cc.targetPrefix}cc"
|
|
|
|
"PREFIX=${placeholder "out"}"
|
|
|
|
];
|
2020-07-28 21:21:44 +01:00
|
|
|
|
2021-01-22 11:25:31 +00:00
|
|
|
meta = with lib; {
|
2020-07-28 21:21:44 +01:00
|
|
|
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;
|
2021-01-22 11:25:31 +00:00
|
|
|
maintainers = with lib.maintainers; [ ddelabru ];
|
2020-07-28 21:21:44 +01:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|