5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
31 lines
926 B
Nix
31 lines
926 B
Nix
{ lib, stdenv, fetchurl, perl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "inform6";
|
|
version = "6.42-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://ifarchive.org/if-archive/infocom/compilers/inform6/source/inform-${version}.tar.gz";
|
|
sha256 = "sha256-JZaMhA4M+fDgk52tWCJokG9J/a1+FQHL7+VxAT4PgQo=";
|
|
};
|
|
|
|
buildInputs = [ perl ];
|
|
|
|
makeFlags = [
|
|
"CC=${stdenv.cc.targetPrefix}cc"
|
|
"PREFIX=${placeholder "out"}"
|
|
];
|
|
|
|
meta = with 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 lib.maintainers; [ ddelabru ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|