forked from mirrors/nixpkgs
mldonkey: update to 3.1.3
Claimed suport for ocaml 4.00.0 and finally, BT magnets.
This commit is contained in:
parent
30e76124e6
commit
be20063772
|
@ -1,11 +1,11 @@
|
|||
{stdenv, fetchurl, ocaml, zlib, bzip2, ncurses, file, gd, libpng }:
|
||||
|
||||
stdenv.mkDerivation (rec {
|
||||
name = "mldonkey-3.1.1";
|
||||
name = "mldonkey-3.1.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/mldonkey/${name}.tar.bz2";
|
||||
sha256 = "1cj0xvfx03jnpifcqxcgfjhkl3f70r86d8zn2flj9wvlnam98qlr";
|
||||
sha256 = "1qnr0qzliw4aynf2zhmm5hmrc9bd5vhdq3bi8n88j4nc86gry9bw";
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
@ -15,9 +15,9 @@ stdenv.mkDerivation (rec {
|
|||
|
||||
buildInputs = [ ocaml zlib ncurses bzip2 file gd libpng ];
|
||||
configureFlags = [ "--disable-gui" ];
|
||||
} // (if (stdenv.system != "i686-linux" && stdenv.system != "x86_64-linux") then
|
||||
} // (if !ocaml.nativeCompilers then
|
||||
{
|
||||
# Byte code compilation (the ocaml opt compiler is not supported in many platforms)
|
||||
# Byte code compilation (the ocaml opt compiler is not supported in some platforms)
|
||||
buildPhase = "make mlnet.byte";
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
|
|
Loading…
Reference in a new issue