diff options
author | Nikolay Amiantov <ab@fmap.me> | 2015-07-13 22:22:55 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2015-07-28 12:58:47 +0300 |
commit | f055ffa372fc75341784f4a5d019f9ca06320e06 (patch) | |
tree | 6899802486e3fd30aa0e071a301b7ce83fd83b30 /pkgs/games/adom | |
parent | c60ce5fa9b5a7cc6363aa9b3bbce53cd74b14b4b (diff) |
adom: use another mirror
Diffstat (limited to 'pkgs/games/adom')
-rw-r--r-- | pkgs/games/adom/default.nix | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/pkgs/games/adom/default.nix b/pkgs/games/adom/default.nix index d44da3d41b7c..4c62ac4ee34a 100644 --- a/pkgs/games/adom/default.nix +++ b/pkgs/games/adom/default.nix @@ -1,8 +1,7 @@ -{ stdenv, patchelf, zlib, libmad, libpng12, libcaca, mesa, alsaLib, libpulseaudio -, xlibs, plowshare }: - -assert stdenv.isLinux; +{ stdenv, fetchurl, patchelf, zlib, libmad, libpng12, libcaca, mesa, alsaLib, libpulseaudio +, xlibs }: +assert stdenv.system == "x86_64-linux"; let inherit (xlibs) libXext libX11; @@ -11,21 +10,13 @@ let zlib libmad libpng12 libcaca libXext libX11 mesa alsaLib libpulseaudio]; in -assert stdenv.is64bit; stdenv.mkDerivation rec { + name = "adom-${version}-noteye"; + version = "1.2.0_pre23"; - name = "adom-1.2.0-noteye"; - - # couldn't make fetchurl appear non-robot, even with --user-agent - src = stdenv.mkDerivation { - name = "adom-1.2.0-noteye.tar.gz"; - buildCommand = '' - ${plowshare}/bin/plowdown "http://www30.zippyshare.com/v/39200582/file.html" - F=`ls *tar.gz` - mv $F $out - ''; - outputHashAlgo = "sha256"; - outputHash = "1f825845d5007e676a4d1a3ccd887904b959bdddbcb9f241c42c2dac34037669"; + src = fetchurl { + url = "http://ancardia.uk.to/download/adom_noteye_linux_ubuntu_64_${version}.tar.gz"; + sha256 = "0sbn0csaqb9cqi0z5fdwvnymkf84g64csg0s9mm6fzh0sm2mi0hz"; }; buildCommand = '' |