aboutsummaryrefslogtreecommitdiff
path: root/pkgs/games/pokerth
diff options
context:
space:
mode:
authorYury G. Kudryashov <urkud@urkud.name>2018-09-19 02:32:25 -0400
committerYegor Timoshenko <yegortimoshenko@riseup.net>2018-10-19 17:01:29 +0000
commitf923187c20447c1114902db9d8e7b12dbc5d8cf1 (patch)
treece3939fd4b3e1fc3dfe9a97afab82df8f1a7ad74 /pkgs/games/pokerth
parent0ba1f0aa727bb76aa4ebc76a42ee3fb78844b932 (diff)
pokerth: 1.1.1 -> 1.1.2
Diffstat (limited to 'pkgs/games/pokerth')
-rw-r--r--pkgs/games/pokerth/default.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/games/pokerth/default.nix b/pkgs/games/pokerth/default.nix
index aae49eedd7c9..9a251fd4dee9 100644
--- a/pkgs/games/pokerth/default.nix
+++ b/pkgs/games/pokerth/default.nix
@@ -4,13 +4,13 @@ let boost = boost155;
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "pokerth";
- version = "1.1.1";
+ version = "1.1.2";
src = fetchFromGitHub {
owner = pname;
repo = pname;
- rev = "7f3c8a860848c16c8c2f78e3929a65a54ef4c04c";
- sha256 = "1md3sl7pdpn3n42k75pxqbkkl19cz4699g1vdi04qpp0jxx09a2k";
+ rev = "v${version}";
+ sha256 = "0m74jyd9h3yaly3avy65zw7r2iv5b62c2dqizbxsagjsr9a3g0cg";
};
buildInputs = [ qmake4Hook qt4 protobuf boost tinyxml2 libgcrypt sqlite gsasl curl SDL SDL_mixer libircclient ];
@@ -25,8 +25,10 @@ in stdenv.mkDerivation rec {
for f in connectivity.pro load.pro pokerth_game.pro pokerth_server.pro
do
substituteInPlace $f \
- --replace 'LIB_DIRS =' 'LIB_DIRS = ${boost.out}/lib'
+ --replace 'LIB_DIRS =' 'LIB_DIRS = ${boost.out}/lib' \
+ --replace '/opt/gsasl/' '${gsasl}/'
done
+ substituteInPlace pokerth_server.pro --replace '$$'{PREFIX}/include/libircclient '${libircclient.dev}/include/libircclient'
'';
enableParallelBuilding = true;