Merge pull request #326350 from x123/x123-update-narsil

narsil: 1.3.0-49-gc042b573a -> 1.3.0-84-g042c39e9c
This commit is contained in:
Peder Bergebakken Sundt 2024-07-25 01:45:35 +02:00 committed by GitHub
commit 3e3d630605
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,36 +1,40 @@
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, ncurses
, enableSdl2 ? true
, SDL2
, SDL2_image
, SDL2_sound
, SDL2_mixer
, SDL2_ttf
{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
nix-update-script,
ncurses,
enableSdl2 ? true,
SDL2,
SDL2_image,
SDL2_sound,
SDL2_mixer,
SDL2_ttf,
}:
stdenv.mkDerivation rec {
pname = "narsil";
version = "1.3.0-49-gc042b573a";
version = "1.3.0-84-g042c39e9c";
src = fetchFromGitHub {
owner = "NickMcConnell";
repo = "NarSil";
rev = version;
hash = "sha256-lVGG4mppsnDmjMFO8YWsLEJEhI3T+QO3z/pCebe0Ai8=";
hash = "sha256-P+J+1KR5ZIUSXq8FXHGcIllGH3iEFlNniHWzlT4WZUM=";
};
passthru.updateScript = nix-update-script { };
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ ncurses ]
buildInputs =
[ ncurses ]
++ lib.optionals enableSdl2 [
SDL2
SDL2_image
SDL2_sound
SDL2_mixer
SDL2_ttf
];
SDL2
SDL2_image
SDL2_sound
SDL2_mixer
SDL2_ttf
];
enableParallelBuilding = true;
@ -38,15 +42,16 @@ stdenv.mkDerivation rec {
installFlags = [ "bindir=$(out)/bin" ];
meta = with lib; {
meta = {
homepage = "https://github.com/NickMcConnell/NarSil/";
description = "Unofficial rewrite of Sil, a roguelike influenced by Angband";
mainProgram = "narsil";
changelog = "https://github.com/NickMcConnell/NarSil/releases/tag/${version}";
longDescription = ''
NarSil attempts to be an almost-faithful recreation of Sil 1.3.0,
but based on the codebase of modern Angband.
'';
maintainers = [ maintainers.nanotwerp ];
license = licenses.gpl2;
maintainers = with lib.maintainers; [ nanotwerp x123 ];
license = lib.licenses.gpl2;
};
}