unnethack: 5.3.3 -> 5.2.0
This is actually an update. I remember their version numbers used to be a mess.
This commit is contained in:
parent
b5a53655be
commit
048e0b6331
@ -1,12 +1,13 @@
|
|||||||
{ stdenv, fetchgit, utillinux, ncurses, flex, bison }:
|
{ stdenv, fetchgit, utillinux, ncurses, flex, bison }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "unnethack-5.3.1";
|
name = "unnethack-${version}";
|
||||||
|
version = "5.2.0";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = "https://github.com/UnNetHack/UnNetHack";
|
url = "https://github.com/UnNetHack/UnNetHack";
|
||||||
rev = "63677eb256b5a75430f190cfb0f76bdd9bd0b9dd";
|
rev = "refs/tags/${version}";
|
||||||
sha256 = "0w6vyg0j2xdvr5vdlyf3dwliyxjzcr5fdbx5maygxiql44j104v3";
|
sha256 = "088gd2c7v95f2pm9ky38i28sz73mnsksr2p2hhhflkchxncd21f1";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ncurses ];
|
buildInputs = [ ncurses ];
|
||||||
@ -22,6 +23,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
makeFlags = [ "GAMEPERM=744" ];
|
makeFlags = [ "GAMEPERM=744" ];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
cp -r /tmp/unnethack $out/share/unnethack/profile
|
cp -r /tmp/unnethack $out/share/unnethack/profile
|
||||||
mv $out/bin/unnethack $out/bin/.wrapped_unnethack
|
mv $out/bin/unnethack $out/bin/.wrapped_unnethack
|
||||||
|
Loading…
x
Reference in New Issue
Block a user