diff --git a/lib/maintainers.nix b/lib/maintainers.nix index ea75059b54b4..664c50dd5794 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -275,6 +275,7 @@ matthiasbeyer = "Matthias Beyer "; maurer = "Matthew Maurer "; mbakke = "Marius Bakke "; + mbbx6spp = "Susan Potter "; mbe = "Brandon Edens "; mboes = "Mathieu Boespflug "; mcmtroffaes = "Matthias C. M. Troffaes "; diff --git a/pkgs/development/compilers/inform7/default.nix b/pkgs/development/compilers/inform7/default.nix new file mode 100644 index 000000000000..7f1830430c45 --- /dev/null +++ b/pkgs/development/compilers/inform7/default.nix @@ -0,0 +1,30 @@ +{ stdenv, writeText, fetchzip, coreutils, perl, gnutar, gzip }: +let + version = "6M62"; +in stdenv.mkDerivation { + name = "inform7-${version}"; + buildInputs = [ perl coreutils gnutar gzip ]; + src = fetchzip { + url = "http://inform7.com/download/content/6M62/I7_6M62_Linux_all.tar.gz"; + sha256 = "0bk0pfymvsn1g8ci0pfdw7dgrlzb232a8pc67y2xk6zgpf3m41vj"; + }; + preConfigure = "touch Makefile.PL"; + buildPhase = ""; + installPhase = '' + mkdir -p $out + pushd $src + ./install-inform7.sh --prefix $out + popd + + substituteInPlace "$out/bin/i7" \ + --replace "/usr/bin/perl" "${perl}/bin/perl" + ''; + + meta = with stdenv.lib; { + description = "A design system for interactive fiction."; + homepage = http://inform7.com/; + license = licenses.artistic2; + maintainers = with maintainers; [ mbbx6spp ]; + platforms = platforms.unix; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index dea35b0640c7..c0b11d62033e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2237,6 +2237,8 @@ in inetutils = callPackage ../tools/networking/inetutils { }; + inform7 = callPackage ../development/compilers/inform7 { }; + innoextract = callPackage ../tools/archivers/innoextract { }; ioping = callPackage ../tools/system/ioping { };