python3Packages.ghome-foyer-api: init at 1.1.1 (#380790)
[NixPkgs.git] / pkgs / development / compilers / inform6 / default.nix
blob49c7d2b49e4b23118baa12872606164567a8a138
2   lib,
3   stdenv,
4   fetchurl,
5   perl,
6 }:
8 stdenv.mkDerivation rec {
9   pname = "inform6";
10   version = "6.42-r6";
12   src = fetchurl {
13     url = "https://ifarchive.org/if-archive/infocom/compilers/inform6/source/inform-${version}.tar.gz";
14     sha256 = "sha256-SVsIhvlWVK0UWgyL85YuueE92CQ9RAgaUBruIOzGoww=";
15   };
17   buildInputs = [ perl ];
19   makeFlags = [
20     "CC=${stdenv.cc.targetPrefix}cc"
21     "PREFIX=${placeholder "out"}"
22   ];
24   meta = with lib; {
25     description = "Interactive fiction compiler and libraries";
26     longDescription = ''
27       Inform 6 is a C-like programming language for writing interactive fiction
28       (text adventure) games.
29     '';
30     homepage = "https://gitlab.com/DavidGriffith/inform6unix";
31     changelog = "https://gitlab.com/DavidGriffith/inform6unix/-/raw/${version}/NEWS";
32     license = licenses.artistic2;
33     maintainers = with lib.maintainers; [ ddelabru ];
34     platforms = platforms.all;
35   };