about summary refs log tree commit diff
path: root/pkgs/games/tennix
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2021-06-22 23:44:58 +0200
committerFelix Buehler <account@buehler.rocks>2021-06-25 01:28:10 +0200
commitce3b463c7900a354775a35f8b75dbd2cd1ca2e7d (patch)
tree3c3d6efc864eaf1543b494bbf8d9c2bfda934151 /pkgs/games/tennix
parentd26902aef932e80eb772026433af13ce662e7872 (diff)
games: /s/name/pname&version/
Diffstat (limited to 'pkgs/games/tennix')
-rw-r--r--pkgs/games/tennix/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/games/tennix/default.nix b/pkgs/games/tennix/default.nix
index c8b2a415923f4..f81ddb7edf953 100644
--- a/pkgs/games/tennix/default.nix
+++ b/pkgs/games/tennix/default.nix
@@ -1,9 +1,10 @@
 {lib, stdenv, fetchurl, SDL, SDL_mixer, SDL_image, SDL_ttf, SDL_net, python } :
 
 stdenv.mkDerivation rec {
-  name = "tennix-1.1";
+  pname = "tennix";
+  version = "1.1";
   src = fetchurl {
-    url = "https://icculus.org/tennix/downloads/${name}.tar.gz";
+    url = "https://icculus.org/tennix/downloads/tennix-${version}.tar.gz";
     sha256 = "0np5kw1y7i0z0dsqx4r2nvmq86qj8hv3mmgavm3hxraqnds5z8cm";
   };