diff options
author | Felix Buehler <account@buehler.rocks> | 2021-06-22 23:44:58 +0200 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2021-06-25 01:28:10 +0200 |
commit | ce3b463c7900a354775a35f8b75dbd2cd1ca2e7d (patch) | |
tree | 3c3d6efc864eaf1543b494bbf8d9c2bfda934151 /pkgs/games/tibia | |
parent | d26902aef932e80eb772026433af13ce662e7872 (diff) |
games: /s/name/pname&version/
Diffstat (limited to 'pkgs/games/tibia')
-rw-r--r-- | pkgs/games/tibia/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/games/tibia/default.nix b/pkgs/games/tibia/default.nix index 0892dc2dedd83..0fee9ce6c6cb5 100644 --- a/pkgs/games/tibia/default.nix +++ b/pkgs/games/tibia/default.nix @@ -1,10 +1,11 @@ { lib, stdenv, fetchurl, glibc, libX11, runtimeShell, libGLU, libGL }: -stdenv.mkDerivation { - name = "tibia-10.90"; +stdenv.mkDerivation rec { + pname = "tibia"; + version = "10.90"; src = fetchurl { - url = "http://static.tibia.com/download/tibia1090.tgz"; + url = "http://static.tibia.com/download/tibia${lib.replaceStrings ["."] [""] version}.tgz"; sha256 = "11mkh2dynmbpay51yfaxm5dmcys3rnpk579s9ypfkhblsrchbkhx"; }; |