Skip to content

Commit

Permalink
unnethack: 5.3.3 -> 5.2.0
Browse files Browse the repository at this point in the history
This is actually an update. I remember their version numbers used to be a mess.
  • Loading branch information
abbradar committed Jun 3, 2019
1 parent b5a5365 commit 048e0b6
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions pkgs/games/unnethack/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
Expand All @@ -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
Expand Down

0 comments on commit 048e0b6

Please sign in to comment.