adom: use another mirror

This commit is contained in:
Nikolay Amiantov 2015-07-13 22:22:55 +03:00
parent c60ce5fa9b
commit f055ffa372
1 changed files with 8 additions and 17 deletions

View File

@ -1,8 +1,7 @@
{ stdenv, patchelf, zlib, libmad, libpng12, libcaca, mesa, alsaLib, libpulseaudio { stdenv, fetchurl, patchelf, zlib, libmad, libpng12, libcaca, mesa, alsaLib, libpulseaudio
, xlibs, plowshare }: , xlibs }:
assert stdenv.isLinux;
assert stdenv.system == "x86_64-linux";
let let
inherit (xlibs) libXext libX11; inherit (xlibs) libXext libX11;
@ -11,21 +10,13 @@ let
zlib libmad libpng12 libcaca libXext libX11 mesa alsaLib libpulseaudio]; zlib libmad libpng12 libcaca libXext libX11 mesa alsaLib libpulseaudio];
in in
assert stdenv.is64bit;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "adom-${version}-noteye";
version = "1.2.0_pre23";
name = "adom-1.2.0-noteye"; src = fetchurl {
url = "http://ancardia.uk.to/download/adom_noteye_linux_ubuntu_64_${version}.tar.gz";
# couldn't make fetchurl appear non-robot, even with --user-agent sha256 = "0sbn0csaqb9cqi0z5fdwvnymkf84g64csg0s9mm6fzh0sm2mi0hz";
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";
}; };
buildCommand = '' buildCommand = ''