1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 21:21:06 +00:00

Merge #20908: inform7: init at 6M62

This commit is contained in:
Vladimír Čunát 2016-12-13 15:46:26 +01:00
commit d43dc3d38b
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA
3 changed files with 33 additions and 0 deletions

View file

@ -275,6 +275,7 @@
matthiasbeyer = "Matthias Beyer <mail@beyermatthias.de>";
maurer = "Matthew Maurer <matthew.r.maurer+nix@gmail.com>";
mbakke = "Marius Bakke <mbakke@fastmail.com>";
mbbx6spp = "Susan Potter <me@susanpotter.net>";
mbe = "Brandon Edens <brandonedens@gmail.com>";
mboes = "Mathieu Boespflug <mboes@tweag.net>";
mcmtroffaes = "Matthias C. M. Troffaes <matthias.troffaes@gmail.com>";

View file

@ -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;
};
}

View file

@ -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 { };