depot/third_party/nixpkgs/pkgs/games/frotz/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

25 lines
653 B
Nix

{ stdenv, fetchFromGitHub, ncurses }:
stdenv.mkDerivation rec {
version = "2.44";
pname = "frotz";
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;
};
}