1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 20:21:14 +00:00

opendune: init at 0.9 (#41415)

This commit is contained in:
Fernando José Pando 2018-06-05 14:39:24 -04:00 committed by xeji
parent 999871400b
commit 3cc263ea13
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ stdenv, fetchFromGitHub, SDL, SDL_image, SDL_mixer, binutils }:
# - set the opendune configuration at ~/.config/opendune/opendune.ini:
# [opendune]
# datadir=/path/to/opendune-data
# - download dune2 into [datadir] http://www.bestoldgames.net/eng/old-games/dune-2.php
stdenv.mkDerivation rec {
name = "opendune-${version}";
version = "0.9";
src = fetchFromGitHub {
owner = "OpenDUNE";
repo = "OpenDUNE";
rev = version;
sha256 = "15rvrnszdy3db8s0dmb696l4isb3x2cpj7wcl4j09pdi59pc8p37";
};
buildInputs = [ SDL SDL_image SDL_mixer ];
installPhase = ''
install -m 555 -D bin/opendune $out/bin/opendune
'';
meta = with stdenv.lib; {
description = "Dune, Reinvented";
homepage = https://github.com/OpenDUNE/OpenDUNE;
license = licenses.gpl2;
maintainers = [ maintainers.nand0p ];
platforms = platforms.linux;
};
}

View file

@ -1358,6 +1358,8 @@ with pkgs;
meritous = callPackage ../games/meritous { };
opendune = callPackage ../games/opendune { };
meson = callPackage ../development/tools/build-managers/meson { };
metabase = callPackage ../servers/metabase { };