2021-01-11 08:54:33 +01:00
|
|
|
{lib, stdenv, fetchurl, ncurses}:
|
2007-01-08 22:19:15 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2008-08-27 16:48:28 +02:00
|
|
|
name = "rogue-5.4.4";
|
2015-03-20 16:52:02 +01:00
|
|
|
|
2007-01-08 22:19:15 +01:00
|
|
|
src = fetchurl {
|
2016-11-26 20:23:37 +01:00
|
|
|
urls = [
|
2018-06-28 20:43:35 +02:00
|
|
|
"https://src.fedoraproject.org/repo/pkgs/rogue/rogue5.4.4-src.tar.gz/033288f46444b06814c81ea69d96e075/rogue5.4.4-src.tar.gz"
|
2016-11-26 20:23:37 +01:00
|
|
|
"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"
|
|
|
|
];
|
2008-08-27 16:48:28 +02:00
|
|
|
sha256 = "18g81274d0f7sr04p7h7irz0d53j6kd9j1y3zbka1gcqq0gscdvx";
|
2007-01-08 22:19:15 +01:00
|
|
|
};
|
2015-03-20 16:52:02 +01:00
|
|
|
|
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
|
2018-02-23 00:50:04 +01:00
|
|
|
# Fix build for recent ncurses versions
|
2019-10-30 12:34:47 +01:00
|
|
|
NIX_CFLAGS_COMPILE = "-DNCURSES_INTERNALS=1";
|
2018-02-23 00:50:04 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://rogue.rogueforge.net/rogue-5-4/";
|
2008-08-27 16:48:28 +02:00
|
|
|
description = "The final version of the original Rogue game developed for the UNIX operating system";
|
2018-09-03 22:06:28 +02:00
|
|
|
platforms = platforms.all;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.eelco ];
|
2008-08-27 16:48:28 +02:00
|
|
|
};
|
2007-01-08 22:19:15 +01:00
|
|
|
}
|