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