1 { lib, stdenv, fetchzip, coreutils, perl, gnutar, gzip }:
4 in stdenv.mkDerivation {
7 buildInputs = [ perl coreutils gnutar gzip ];
9 url = "http://inform7.com/download/content/6M62/I7_6M62_Linux_all.tar.gz";
10 sha256 = "0bk0pfymvsn1g8ci0pfdw7dgrlzb232a8pc67y2xk6zgpf3m41vj";
12 preConfigure = "touch Makefile.PL";
17 ./install-inform7.sh --prefix $out
20 substituteInPlace "$out/bin/i7" \
21 --replace "/usr/bin/perl" "${perl}/bin/perl"
25 description = "Design system for interactive fiction";
27 homepage = "http://inform7.com/";
28 license = licenses.artistic2;
29 maintainers = with maintainers; [ mbbx6spp ];
30 platforms = platforms.unix;
31 # never built on aarch64-darwin since first introduction in nixpkgs
32 broken = (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) || (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64);