hheretic: init at 0.2.3
This commit is contained in:
parent
5b05f88050
commit
c56fec9f9f
56
pkgs/games/hheretic/default.nix
Normal file
56
pkgs/games/hheretic/default.nix
Normal file
@ -0,0 +1,56 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, SDL
|
||||
, SDL_mixer
|
||||
, autoreconfHook
|
||||
, gitUpdater
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "hheretic";
|
||||
version = "0.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sezero";
|
||||
repo = "hheretic";
|
||||
rev = "hheretic-${finalAttrs.version}";
|
||||
hash = "sha256-e9N869W8STZdLUBSscxEnF2Z+SrdVv8ARDL8AMe1SJ8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
SDL.dev
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
SDL
|
||||
SDL_mixer
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
enableParallelBuilding = true;
|
||||
|
||||
configureFlags = [ "--with-audio=sdlmixer" ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm755 hheretic-gl -t $out/bin
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
rev-prefix = "hheretic-";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Linux port of Raven Game's Heretic";
|
||||
homepage = "https://hhexen.sourceforge.net/hhexen.html";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
mainProgram = "hheretic-gl";
|
||||
maintainers = with lib.maintainers; [ moody ];
|
||||
inherit (SDL.meta) platforms;
|
||||
};
|
||||
})
|
@ -38226,6 +38226,8 @@ with pkgs;
|
||||
|
||||
hhexen = callPackage ../games/hhexen { };
|
||||
|
||||
hheretic = callPackage ../games/hheretic { };
|
||||
|
||||
wyvern = callPackage ../games/wyvern { };
|
||||
|
||||
hsetroot = callPackage ../tools/X11/hsetroot { };
|
||||
|
Loading…
Reference in New Issue
Block a user