diff options
author | Philippe Hürlimann <p@hurlimann.org> | 2020-10-13 23:12:09 +0200 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-10-17 08:43:35 -0700 |
commit | c6218f21723cf677251cb470af4298d4a20e0a78 (patch) | |
tree | ae5a751390a500590d6beb99e212e7bd0da7bd4b /pkgs/games/trigger | |
parent | 5cc71ccd9cadf4d1a243722ef8698b95139c89ad (diff) |
trigger: apply review suggestions
Diffstat (limited to 'pkgs/games/trigger')
-rw-r--r-- | pkgs/games/trigger/default.nix | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/pkgs/games/trigger/default.nix b/pkgs/games/trigger/default.nix index e5a299052ddb7..74a56f1fd4067 100644 --- a/pkgs/games/trigger/default.nix +++ b/pkgs/games/trigger/default.nix @@ -2,15 +2,26 @@ , zlib, libGLU, libGL, glew, tinyxml-2 }: stdenv.mkDerivation rec { - name = "trigger-rally-0.6.6.1"; + pname = "trigger-rally"; + version = "0.6.6.1"; src = fetchurl { - url = "mirror://sourceforge/trigger-rally/${name}.tar.gz"; + url = "mirror://sourceforge/trigger-rally/${pname}-${version}.tar.gz"; sha256 = "016bc2hczqscfmngacim870hjcsmwl8r3aq8x03vpf22s49nw23z"; }; - buildInputs = - [ SDL2 freealut SDL2_image openal physfs zlib libGLU libGL glew tinyxml-2 ]; + buildInputs = [ + SDL2 + freealut + SDL2_image + openal + physfs + zlib + libGLU + libGL + glew + tinyxml-2 + ]; preConfigure = '' sed s,/usr/local,$out, -i bin/*defs |