mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
Merge pull request #129832 from canndrew/eternity-engine-4.02.00
This commit is contained in:
commit
0c7cc64922
1 changed files with 7 additions and 6 deletions
|
@ -1,27 +1,28 @@
|
||||||
{ lib, stdenv, cmake, libGL, SDL, SDL_mixer, SDL_net, fetchFromGitHub, makeWrapper }:
|
{ lib, stdenv, cmake, libGL, SDL2, SDL2_mixer, SDL2_net, fetchFromGitHub, makeWrapper }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "eternity-engine";
|
pname = "eternity-engine";
|
||||||
version = "3.42.02";
|
version = "4.02.00";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "team-eternity";
|
owner = "team-eternity";
|
||||||
repo = "eternity";
|
repo = "eternity";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "00kpq4k23hjmzjaymw3sdda7mqk8fjq6dzf7fmdal9fm7lfmj41k";
|
sha256 = "0dlz7axbiw003bgwk2hl43w8r2bwnxhi042i1xwdiwaja0cpnf5y";
|
||||||
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake makeWrapper ];
|
nativeBuildInputs = [ cmake makeWrapper ];
|
||||||
buildInputs = [ libGL SDL SDL_mixer SDL_net ];
|
buildInputs = [ libGL SDL2 SDL2_mixer SDL2_net ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -Dm755 source/eternity $out/lib/eternity/eternity
|
install -Dm755 eternity/eternity $out/lib/eternity/eternity
|
||||||
cp -r $src/base $out/lib/eternity/base
|
cp -r $src/base $out/lib/eternity/base
|
||||||
mkdir $out/bin
|
mkdir $out/bin
|
||||||
makeWrapper $out/lib/eternity/eternity $out/bin/eternity
|
makeWrapper $out/lib/eternity/eternity $out/bin/eternity
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://doomworld.com/eternity";
|
homepage = "https://doomworld.com/eternity";
|
||||||
description = "New school Doom port by James Haley";
|
description = "New school Doom port by James Haley";
|
||||||
license = lib.licenses.gpl3;
|
license = lib.licenses.gpl3;
|
||||||
platforms = lib.platforms.linux;
|
platforms = lib.platforms.linux;
|
||||||
|
|
Loading…
Reference in a new issue