depot/third_party/nixpkgs/pkgs/games/rogue/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

26 lines
926 B
Nix

{lib, stdenv, fetchurl, ncurses}:
stdenv.mkDerivation rec {
pname = "rogue";
version = "5.4.4";
src = fetchurl {
urls = [
"https://src.fedoraproject.org/repo/pkgs/rogue/rogue${version}-src.tar.gz/033288f46444b06814c81ea69d96e075/rogue${version}-src.tar.gz"
"http://ftp.vim.org/ftp/pub/ftp/os/Linux/distr/slitaz/sources/packages-cooking/r/rogue${version}-src.tar.gz"
"http://rogue.rogueforge.net/files/rogue${lib.versions.majorMinor version}/rogue${version}-src.tar.gz"
];
sha256 = "18g81274d0f7sr04p7h7irz0d53j6kd9j1y3zbka1gcqq0gscdvx";
};
buildInputs = [ ncurses ];
meta = with lib; {
homepage = "http://rogue.rogueforge.net/rogue-5-4/";
description = "Final version of the original Rogue game developed for the UNIX operating system";
mainProgram = "rogue";
platforms = platforms.all;
license = licenses.bsd3;
maintainers = [ maintainers.eelco ];
};
}