2021-01-26 00:30:05 +00:00
|
|
|
{ lib, fetchurl, SDL, stdenv }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2022-01-11 12:50:16 +00:00
|
|
|
pname = "hhexen";
|
2021-01-26 00:30:05 +00:00
|
|
|
version = "1.6.3";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/hhexen/hhexen-${version}-src.tgz";
|
|
|
|
sha256 = "1jwccqawbdn0rjn5p59j21rjy460jdhps7zwn2z0gq9biggw325b";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ SDL ];
|
|
|
|
installPhase = ''
|
|
|
|
install -Dm755 hhexen-gl -t $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Linux port of Raven Game's Hexen";
|
|
|
|
homepage = "http://hhexen.sourceforge.net/hhexen.html";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ djanatyn ];
|
|
|
|
};
|
|
|
|
}
|