summary refs log tree commit diff
path: root/pkgs/games/liquidwar
diff options
context:
space:
mode:
authorMathnerd314 <mathnerd314.gph+hs@gmail.com>2015-09-14 22:27:19 -0600
committerMathnerd314 <mathnerd314.gph+hs@gmail.com>2015-09-14 22:27:19 -0600
commiteb7404d97a7e46df1f598a74982ca06e08033a45 (patch)
tree6b5752df7032ba1efc535cf884db4891f20dd786 /pkgs/games/liquidwar
parent7fb1c7efcfa34a4af9f5de5fbde9e12d15017a90 (diff)
downloadnixpkgs-eb7404d97a7e46df1f598a74982ca06e08033a45.tar
nixpkgs-eb7404d97a7e46df1f598a74982ca06e08033a45.tar.gz
nixpkgs-eb7404d97a7e46df1f598a74982ca06e08033a45.tar.bz2
nixpkgs-eb7404d97a7e46df1f598a74982ca06e08033a45.tar.lz
nixpkgs-eb7404d97a7e46df1f598a74982ca06e08033a45.tar.xz
nixpkgs-eb7404d97a7e46df1f598a74982ca06e08033a45.tar.zst
nixpkgs-eb7404d97a7e46df1f598a74982ca06e08033a45.zip
all-packages: Use callPackage where possible
Diffstat (limited to 'pkgs/games/liquidwar')
-rw-r--r--pkgs/games/liquidwar/default.nix15
1 files changed, 10 insertions, 5 deletions
diff --git a/pkgs/games/liquidwar/default.nix b/pkgs/games/liquidwar/default.nix
index 3a3774bc1dd..602daa1ee86 100644
--- a/pkgs/games/liquidwar/default.nix
+++ b/pkgs/games/liquidwar/default.nix
@@ -1,11 +1,16 @@
-a :  
-let 
+a @ { xproto, libX11, libXrender
+, gmp, mesa, libjpeg, libpng
+, expat, gettext, perl
+, SDL, SDL_image, SDL_mixer, SDL_ttf
+, curl, sqlite
+, libogg, libvorbis, libcaca, csound, cunit, ... } :
+let
   buildInputs = with a; [
     xproto libX11 gmp guile
     mesa libjpeg libpng
     expat gettext perl
     SDL SDL_image SDL_mixer SDL_ttf
-    curl sqlite 
+    curl sqlite
     libogg libvorbis csound
     libXrender libcaca cunit
   ];
@@ -27,13 +32,13 @@ rec {
   setVars = a.noDepEntry (''
     export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${a.SDL}/include/SDL"
   '');
-      
+
   meta = {
     description = "Quick tactics game";
     maintainers = [
       a.lib.maintainers.raskin
     ];
-    platforms = with a.lib.platforms; 
+    platforms = with a.lib.platforms;
       linux;
   homepage = "http://www.gnu.org/software/liquidwar6/";
   version = "0.6.3902";