Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

frotz: init at 2.44 #19595

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/maintainers.nix
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@
nfjinjing = "Jinjing Wang <nfjinjing@gmail.com>";
nhooyr = "Anmol Sethi <anmol@aubble.com>";
nico202 = "Nicol貌 Balzarotti <anothersms@gmail.com>";
nick = "Nick Novitski <nixpkgs@nicknovitski.com>";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The key should be your github account name, so nicknovitski.

notthemessiah = "Brian Cohen <brian.cohen.88@gmail.com>";
NikolaMandic = "Ratko Mladic <nikola@mandic.email>";
np = "Nicolas Pouillard <np.nix@nicolaspouillard.fr>";
Expand Down
25 changes: 25 additions & 0 deletions pkgs/games/frotz/default.nix
Original file line number Diff line number Diff line change
@@ -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.nick ];
license = licenses.gpl2;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15461,6 +15461,8 @@ in

freeorion = callPackage ../games/freeorion { };

frotz = callPackage ../games/frotz { };

fsg = callPackage ../games/fsg {
wxGTK = wxGTK28.override { unicode = false; };
};
Expand Down