frotz: init at 2.44

Closes https://github.com/NixOS/nixpkgs/pull/19595/files
This commit is contained in:
Nick Novitski
2016-10-22 07:12:58 -04:00
committed by Graham Christensen
parent b48bfa4061
commit 69cf5aa4f3
3 changed files with 28 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
{ stdenv, fetchFromGitHub, ncurses }:
stdenv.mkDerivation rec {
version = "2.44";
name = "frotz-${version}";
src = fetchFromGitHub {
owner = "DavidGriffith";
repo = "frotz";
rev = version;
sha256 = "0gjkk4gxzqmxfdirrz2lr0bms6l9fc31vkmlywigkbdlh8wxgypp";
};
makeFlags = ''CC=cc PREFIX=$(out) CURSES=-lncurses'';
buildInputs = [ ncurses ];
meta = with stdenv.lib; {
homepage = http://frotz.sourceforge.net/;
description = "A z-machine interpreter for Infocom games and other interactive fiction.";
platforms = platforms.unix;
maintainers = [ maintainers.nicknovitski ];
license = licenses.gpl2;
};
}