1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 00:54:11 +00:00
nixpkgs/pkgs/games/rogue/default.nix

28 lines
923 B
Nix
Raw Normal View History

{stdenv, fetchurl, ncurses}:
stdenv.mkDerivation {
name = "rogue-5.4.4";
src = fetchurl {
urls = [
"https://src.fedoraproject.org/repo/pkgs/rogue/rogue5.4.4-src.tar.gz/033288f46444b06814c81ea69d96e075/rogue5.4.4-src.tar.gz"
"http://ftp.vim.org/ftp/pub/ftp/os/Linux/distr/slitaz/sources/packages-cooking/r/rogue5.4.4-src.tar.gz"
"http://rogue.rogueforge.net/files/rogue5.4/rogue5.4.4-src.tar.gz"
];
sha256 = "18g81274d0f7sr04p7h7irz0d53j6kd9j1y3zbka1gcqq0gscdvx";
};
buildInputs = [ ncurses ];
# Fix build for recent ncurses versions
2019-10-30 11:34:47 +00:00
NIX_CFLAGS_COMPILE = "-DNCURSES_INTERNALS=1";
2018-09-03 21:06:28 +01:00
meta = with stdenv.lib; {
homepage = http://rogue.rogueforge.net/rogue-5-4/;
description = "The final version of the original Rogue game developed for the UNIX operating system";
2018-09-03 21:06:28 +01:00
platforms = platforms.all;
license = licenses.bsd3;
maintainers = [ maintainers.eelco ];
};
}