From edfc77044ad0dca9ca6c068dbbc08cf63bf6a060 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Mon, 18 Aug 2014 16:24:45 +0200 Subject: [PATCH] adom: various fixes - make chrooted download work - add shebang - nix style and meta conventions --- pkgs/games/adom/default.nix | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/pkgs/games/adom/default.nix b/pkgs/games/adom/default.nix index 9041fc225b0..e83f50df1b7 100644 --- a/pkgs/games/adom/default.nix +++ b/pkgs/games/adom/default.nix @@ -1,5 +1,5 @@ -{stdenv, patchelf, zlib, libmad, libpng12, libcaca, mesa, alsaLib, pulseaudio, -xlibs, plowshare}: +{ stdenv, patchelf, zlib, libmad, libpng12, libcaca, mesa, alsaLib, pulseaudio +, xlibs, plowshare }: let @@ -8,25 +8,22 @@ let lpath = "${stdenv.gcc.gcc}/lib64:" + stdenv.lib.makeSearchPath "lib" [ zlib libmad libpng12 libcaca libXext libX11 mesa alsaLib pulseaudio]; -in +in assert stdenv.is64bit; stdenv.mkDerivation rec { - name = "adom-1.20-noteye"; + name = "adom-1.2.0-noteye"; + # couldn't make fetchurl appear non-robot, even with --user-agent src = stdenv.mkDerivation { - name = "adom-1.20-noteye.tar.gz"; + name = "adom-1.2.0-noteye.tar.gz"; buildCommand = '' ${plowshare}/bin/plowdown "http://www30.zippyshare.com/v/39200582/file.html" - ls -lh F=`ls *tar.gz` - echo "Checking $F" - sha256sum -c <$out/bin/adom <