12 stdenv.mkDerivation rec {
16 src = fetchFromGitLab {
17 domain = "gitlab.com";
18 owner = "DavidGriffith";
21 sha256 = "sha256-xVC/iE71W/Wdy5aPGH9DtcVAHWCcg3HkEA3iDV6OYUo=";
24 nativeBuildInputs = [ which pkg-config ];
25 buildInputs = [ libao libmodplug libsamplerate libsndfile libvorbis ncurses ];
29 CFLAGS="-D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600"
30 LDFLAGS="-lncursesw -ltinfo"
33 installFlags = [ "PREFIX=$(out)" ];
36 homepage = "https://davidgriffith.gitlab.io/frotz/";
37 changelog = "https://gitlab.com/DavidGriffith/frotz/-/raw/${version}/NEWS";
38 description = "A z-machine interpreter for Infocom games and other interactive fiction";
39 platforms = platforms.unix;
40 maintainers = with maintainers; [ nicknovitski ddelabru ];
41 license = licenses.gpl2;