3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/games/rogue/default.nix
Tuomas Tynkkynen 71b0de1019 rogue: Fix build after ncurses5 changes
Fixes build after commit 3d24ae9b4426bb8adfcb08de57be21fdf0a377f8:
https://hydra.nixos.org/build/69789236

Thanks to dtzWill for the pointer:
https://github.com/NixOS/nixpkgs/pull/34477#issuecomment-367359351
2018-02-23 06:21:11 +02:00

27 lines
902 B
Nix

{stdenv, fetchurl, ncurses}:
stdenv.mkDerivation {
name = "rogue-5.4.4";
src = fetchurl {
urls = [
"http://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
NIX_CFLAGS_COMPILE = [ "-DNCURSES_INTERNALS=1" ];
meta = {
homepage = http://rogue.rogueforge.net/rogue-5-4/;
description = "The final version of the original Rogue game developed for the UNIX operating system";
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.eelco ];
};
}