3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/games/angband/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
635 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook, ncurses5 }:
2016-04-30 12:50:50 +01:00
stdenv.mkDerivation rec {
pname = "angband";
2022-02-22 00:50:49 +00:00
version = "4.2.4";
2016-05-01 00:18:15 +01:00
2016-04-30 12:50:50 +01:00
src = fetchFromGitHub {
owner = "angband";
repo = "angband";
rev = version;
2022-02-22 00:50:49 +00:00
sha256 = "sha256-Fp3BGCZYYdQCKXOLYsT4zzlibNRlbELZi26ofrbGGPQ=";
2016-05-01 00:18:15 +01:00
};
nativeBuildInputs = [ autoreconfHook ];
2017-01-13 17:11:01 +00:00
buildInputs = [ ncurses5 ];
2019-11-05 01:10:31 +00:00
installFlags = [ "bindir=$(out)/bin" ];
2016-05-01 00:18:15 +01:00
meta = with lib; {
homepage = "https://angband.github.io/angband";
2016-05-01 00:18:15 +01:00
description = "A single-player roguelike dungeon exploration game";
2017-01-13 17:11:01 +00:00
maintainers = [ maintainers.chattered ];
2016-05-01 00:18:15 +01:00
license = licenses.gpl2;
2016-04-30 12:50:50 +01:00
};
}