diff options
author | Nikolay Amiantov <ab@fmap.me> | 2019-06-03 18:42:59 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2019-06-04 01:36:27 +0300 |
commit | 048e0b6331cd1dd4e89388f9de55330ea717e569 (patch) | |
tree | 4147e677d2c01c91b3d59094927efba67c186cc7 /pkgs | |
parent | b5a53655be1ea21c6fb64cb5a16252abbc43d357 (diff) |
unnethack: 5.3.3 -> 5.2.0
This is actually an update. I remember their version numbers used to be a mess.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/games/unnethack/default.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/games/unnethack/default.nix b/pkgs/games/unnethack/default.nix index a1a8272fd0f9d..be1b5bd11956d 100644 --- a/pkgs/games/unnethack/default.nix +++ b/pkgs/games/unnethack/default.nix @@ -1,12 +1,13 @@ { stdenv, fetchgit, utillinux, ncurses, flex, bison }: stdenv.mkDerivation rec { - name = "unnethack-5.3.1"; + name = "unnethack-${version}"; + version = "5.2.0"; src = fetchgit { url = "https://github.com/UnNetHack/UnNetHack"; - rev = "63677eb256b5a75430f190cfb0f76bdd9bd0b9dd"; - sha256 = "0w6vyg0j2xdvr5vdlyf3dwliyxjzcr5fdbx5maygxiql44j104v3"; + rev = "refs/tags/${version}"; + sha256 = "088gd2c7v95f2pm9ky38i28sz73mnsksr2p2hhhflkchxncd21f1"; }; buildInputs = [ ncurses ]; @@ -22,6 +23,8 @@ stdenv.mkDerivation rec { makeFlags = [ "GAMEPERM=744" ]; + enableParallelBuilding = true; + postInstall = '' cp -r /tmp/unnethack $out/share/unnethack/profile mv $out/bin/unnethack $out/bin/.wrapped_unnethack |