diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2014-07-01 13:07:33 +0400 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2014-07-01 13:07:33 +0400 |
commit | 874e4d7d2329fcbefbb48f03b4fb605e12968236 (patch) | |
tree | 41bd4790bb549c756e1e94fc908506943c62b2d2 /pkgs/games/atanks | |
parent | a7984cca3b8b0e5cacea26bc3511f0d7ba0d1cca (diff) |
Update atanks
Diffstat (limited to 'pkgs/games/atanks')
-rw-r--r-- | pkgs/games/atanks/default.nix | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/pkgs/games/atanks/default.nix b/pkgs/games/atanks/default.nix index 7669c4433219..587fefe600b2 100644 --- a/pkgs/games/atanks/default.nix +++ b/pkgs/games/atanks/default.nix @@ -11,17 +11,17 @@ let (builtins.attrNames (builtins.removeAttrs x helperArgNames)); sourceInfo = rec { baseName="atanks"; - version="4.9"; + version = "6.0"; name="${baseName}-${version}"; project="${baseName}"; url="mirror://sourceforge/project/${project}/${baseName}/${name}/${name}.tar.gz"; - hash="015nwh8jk4k24ci6ilihii8idkyf6g266r4vl50csvykc82slrvd"; + sha256 = "0460zwzd800vcgsmd1dzb7j5wcy3lf9hsdw152f6p2mbd0nq5pds"; }; in rec { src = a.fetchurl { url = sourceInfo.url; - sha256 = sourceInfo.hash; + sha256 = sourceInfo.sha256; }; inherit (sourceInfo) name version; @@ -35,6 +35,7 @@ rec { fixInstall = a.fullDepEntry ('' sed -e "s@INSTALL=.*bin/install @INSTALL=install @" -i Makefile sed -e "s@-g 0 -m ... -o 0@@" -i Makefile + sed -e 's@/usr/@'"$out"'@g' -i Makefile '') ["doUnpack" "minInit"]; meta = { @@ -45,11 +46,8 @@ rec { ]; platforms = with a.lib.platforms; linux; - }; - passthru = { - updateInfo = { - downloadPage = "http://sourceforge.net/projects/atanks/files/atanks/"; - }; + downloadPage = "http://sourceforge.net/projects/atanks/files/atanks/"; + inherit version; }; }) x |