9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
23 lines
611 B
Nix
23 lines
611 B
Nix
{ lib, fetchurl, SDL, stdenv }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "hhexen";
|
|
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 = "https://hhexen.sourceforge.net/hhexen.html";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ djanatyn ];
|
|
mainProgram = "hhexen-gl";
|
|
};
|
|
}
|