git.iko.soy/typeable/nixpkgs
on master help sign in
Merge #20908: inform7: init at 6M62
commitd43dc3d38bf5aae89de8ba4b3a8f59793da24737 authorVladimír Čunát <vcunat@gmail.com> dateTue 13 Dec 2016, 15:46 (10 years ago) parent8c0f4758d92626
3 files changed+33
lib/maintainers.nix+1 pkgs/development/compilers/inform7/default.nix+30 pkgs/top-level/all-packages.nix+2
lib/maintainers.nix+1
@@ -275,6 +275,7 @@
275275 matthiasbeyer = "Matthias Beyer <mail@beyermatthias.de>";
276276 maurer = "Matthew Maurer <matthew.r.maurer+nix@gmail.com>";
277277 mbakke = "Marius Bakke <mbakke@fastmail.com>";
278+ mbbx6spp = "Susan Potter <me@susanpotter.net>";
278279 mbe = "Brandon Edens <brandonedens@gmail.com>";
279280 mboes = "Mathieu Boespflug <mboes@tweag.net>";
280281 mcmtroffaes = "Matthias C. M. Troffaes <matthias.troffaes@gmail.com>";
pkgs/development/compilers/inform7/default.nixnew file+30
@@ -0,0 +1,30 @@
1+{ stdenv, writeText, fetchzip, coreutils, perl, gnutar, gzip }:
2+let
3+ version = "6M62";
4+in stdenv.mkDerivation {
5+ name = "inform7-${version}";
6+ buildInputs = [ perl coreutils gnutar gzip ];
7+ src = fetchzip {
8+ url = "http://inform7.com/download/content/6M62/I7_6M62_Linux_all.tar.gz";
9+ sha256 = "0bk0pfymvsn1g8ci0pfdw7dgrlzb232a8pc67y2xk6zgpf3m41vj";
10+ };
11+ preConfigure = "touch Makefile.PL";
12+ buildPhase = "";
13+ installPhase = ''
14+ mkdir -p $out
15+ pushd $src
16+ ./install-inform7.sh --prefix $out
17+ popd
18+
19+ substituteInPlace "$out/bin/i7" \
20+ --replace "/usr/bin/perl" "${perl}/bin/perl"
21+ '';
22+
23+ meta = with stdenv.lib; {
24+ description = "A design system for interactive fiction.";
25+ homepage = http://inform7.com/;
26+ license = licenses.artistic2;
27+ maintainers = with maintainers; [ mbbx6spp ];
28+ platforms = platforms.unix;
29+ };
30+}
pkgs/top-level/all-packages.nix+2
@@ -2237,6 +2237,8 @@ in
22372237
22382238 inetutils = callPackage ../tools/networking/inetutils { };
22392239
2240+ inform7 = callPackage ../development/compilers/inform7 { };
2241+
22402242 innoextract = callPackage ../tools/archivers/innoextract { };
22412243
22422244 ioping = callPackage ../tools/system/ioping { };