mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
25 lines
635 B
Nix
25 lines
635 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook, ncurses5 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "angband";
|
|
version = "4.2.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "angband";
|
|
repo = "angband";
|
|
rev = version;
|
|
sha256 = "sha256-Fp3BGCZYYdQCKXOLYsT4zzlibNRlbELZi26ofrbGGPQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
buildInputs = [ ncurses5 ];
|
|
installFlags = [ "bindir=$(out)/bin" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://angband.github.io/angband";
|
|
description = "A single-player roguelike dungeon exploration game";
|
|
maintainers = [ maintainers.chattered ];
|
|
license = licenses.gpl2;
|
|
};
|
|
}
|