1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 04:02:10 +00:00

adom: use another mirror

This commit is contained in:
Nikolay Amiantov 2015-07-13 22:22:55 +03:00
parent c60ce5fa9b
commit f055ffa372

View file

@ -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 = ''