diff options
author | Lluís Batlle i Rossell <viric@viric.name> | 2013-04-05 22:58:43 +0200 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@viric.name> | 2013-04-05 22:59:20 +0200 |
commit | 04d41f95d00ea52d2ef85925b9289b170c4a464d (patch) | |
tree | c195d642f939c45b240cbd4950604926ba2055ba /pkgs/games | |
parent | 65c008f6532a3e29769f152f7c110ff200953861 (diff) | |
download | nixlib-04d41f95d00ea52d2ef85925b9289b170c4a464d.tar nixlib-04d41f95d00ea52d2ef85925b9289b170c4a464d.tar.gz nixlib-04d41f95d00ea52d2ef85925b9289b170c4a464d.tar.bz2 nixlib-04d41f95d00ea52d2ef85925b9289b170c4a464d.tar.lz nixlib-04d41f95d00ea52d2ef85925b9289b170c4a464d.tar.xz nixlib-04d41f95d00ea52d2ef85925b9289b170c4a464d.tar.zst nixlib-04d41f95d00ea52d2ef85925b9289b170c4a464d.zip |
Adding d2x-rebirth, source port of the Descent 2 engine
Diffstat (limited to 'pkgs/games')
-rw-r--r-- | pkgs/games/d2x-rebirth/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/games/d2x-rebirth/default.nix b/pkgs/games/d2x-rebirth/default.nix new file mode 100644 index 000000000000..b52e29951983 --- /dev/null +++ b/pkgs/games/d2x-rebirth/default.nix @@ -0,0 +1,23 @@ +{stdenv, fetchurl, scons, pkgconfig, SDL, mesa, physfs, SDL_mixer }: + +stdenv.mkDerivation rec { + name = "d2x-rebirth-0.57.3"; + src = fetchurl { + url = "http://www.dxx-rebirth.com/download/dxx/d2x-rebirth_v0.57.3-src.tar.gz"; + sha256 = "0yyandmxz12bbpnd746nddjlqh5i7dylwm006shixis3w3giz77c"; + }; + + buildInputs = [ scons pkgconfig SDL mesa physfs SDL_mixer ]; + + installPhase = '' + scons prefix=$out install + ''; + + meta = { + homepage = http://www.dxx-rebirth.com/; + description = "Source Port of the Descent 2 engine"; + license = "BSD"; # Parallax license, like BSD I think + platforms = with stdenv.lib.platforms; linux; + maintainers = with stdenv.lib.maintainers; [viric]; + }; +} |