depot/third_party/nixpkgs/pkgs/development/compilers/inform6/default.nix
Default email 5e9e1146e1 Project import generated by Copybara.
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
2023-08-05 00:07:22 +02:00

31 lines
926 B
Nix

{ lib, stdenv, fetchurl, perl }:
stdenv.mkDerivation rec {
pname = "inform6";
version = "6.41-r6";
src = fetchurl {
url = "https://ifarchive.org/if-archive/infocom/compilers/inform6/source/inform-${version}.tar.gz";
sha256 = "sha256-YJ3k9c+uYRzI5vMzPXAWvbLoAv45CWxZ21DFsx4UtVc=";
};
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;
};
}