summary refs log tree commit diff
path: root/pkgs/games/instead
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2022-01-11 13:50:16 +0100
committerFelix Buehler <account@buehler.rocks>2022-01-17 19:09:37 +0100
commit4a403f9e3392ae10b61ff137663e736be2baf638 (patch)
treeb0121952d93f442ee5649cb6ce0b4699e2160812 /pkgs/games/instead
parent1ea75adb020b250a8459b6cadcb66543b6c1e217 (diff)
downloadnixpkgs-4a403f9e3392ae10b61ff137663e736be2baf638.tar
nixpkgs-4a403f9e3392ae10b61ff137663e736be2baf638.tar.gz
nixpkgs-4a403f9e3392ae10b61ff137663e736be2baf638.tar.bz2
nixpkgs-4a403f9e3392ae10b61ff137663e736be2baf638.tar.lz
nixpkgs-4a403f9e3392ae10b61ff137663e736be2baf638.tar.xz
nixpkgs-4a403f9e3392ae10b61ff137663e736be2baf638.tar.zst
nixpkgs-4a403f9e3392ae10b61ff137663e736be2baf638.zip
treewide: rename name to pname&version
Diffstat (limited to 'pkgs/games/instead')
-rw-r--r--pkgs/games/instead/default.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/games/instead/default.nix b/pkgs/games/instead/default.nix
index 5c35219c19b..cafdd2b84f0 100644
--- a/pkgs/games/instead/default.nix
+++ b/pkgs/games/instead/default.nix
@@ -1,8 +1,6 @@
 { lib, stdenv, fetchurl, SDL2, SDL2_ttf, SDL2_image, SDL2_mixer, pkg-config, lua, zlib, unzip }:
 
 let
-  version = "3.3.2";
-
   # I took several games at random from https://instead.syscall.ru/games/
   games = [
     (fetchurl {
@@ -28,8 +26,9 @@ let
   ];
 in
 
-stdenv.mkDerivation {
-  name = "instead-" + version;
+stdenv.mkDerivation rec {
+  pname = "instead";
+  version = "3.3.2";
 
   src = fetchurl {
     url = "mirror://sourceforge/project/instead/instead/${version}/instead_${version}.tar.gz";