mldonkey: 3.1.5 -> 3.1.6
This commit is contained in:
parent
4a3e1d83a1
commit
3a227e673a
@ -1,14 +1,20 @@
|
|||||||
{stdenv, fetchurl, ocaml, zlib, bzip2, ncurses, file, gd, libpng, libjpeg }:
|
{ stdenv, fetchurl, ocamlPackages, zlib, bzip2, ncurses, file, gd, libpng, libjpeg }:
|
||||||
|
|
||||||
stdenv.mkDerivation (rec {
|
stdenv.mkDerivation (rec {
|
||||||
name = "mldonkey-3.1.5";
|
name = "mldonkey-3.1.6";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/mldonkey/${name}.tar.bz2";
|
url = https://github.com/ygrek/mldonkey/releases/download/release-3-1-6/mldonkey-3.1.6.tar.bz2;
|
||||||
sha256 = "1jqik6b09p27ckssppfiqpph7alxbgpnf9w1s0lalmi3qyyd9ybl";
|
sha256 = "0g84islkj72ymp0zzppcj9n4r21h0vlghnq87hv2wg580mybadhv";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ocaml zlib ncurses bzip2 file gd libpng libjpeg ];
|
preConfigure = stdenv.lib.optionalString (ocamlPackages.camlp4 != null) ''
|
||||||
|
substituteInPlace Makefile --replace '+camlp4' \
|
||||||
|
'${ocamlPackages.camlp4}/lib/ocaml/${ocamlPackages.ocaml.version}/site-lib/camlp4'
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildInputs = [ zlib ncurses bzip2 file gd libpng libjpeg ] ++
|
||||||
|
(with ocamlPackages; [ ocaml camlp4 ]);
|
||||||
configureFlags = [ "--disable-gui" ];
|
configureFlags = [ "--disable-gui" ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
@ -17,7 +23,7 @@ stdenv.mkDerivation (rec {
|
|||||||
license = stdenv.lib.licenses.gpl2;
|
license = stdenv.lib.licenses.gpl2;
|
||||||
platforms = stdenv.lib.platforms.unix;
|
platforms = stdenv.lib.platforms.unix;
|
||||||
};
|
};
|
||||||
} // (if !ocaml.nativeCompilers then
|
} // (if !ocamlPackages.ocaml.nativeCompilers then
|
||||||
{
|
{
|
||||||
# Byte code compilation (the ocaml opt compiler is not supported in some platforms)
|
# Byte code compilation (the ocaml opt compiler is not supported in some platforms)
|
||||||
buildPhase = "make mlnet.byte";
|
buildPhase = "make mlnet.byte";
|
||||||
|
@ -15063,9 +15063,7 @@ with pkgs;
|
|||||||
|
|
||||||
mjpg-streamer = callPackage ../applications/video/mjpg-streamer { };
|
mjpg-streamer = callPackage ../applications/video/mjpg-streamer { };
|
||||||
|
|
||||||
mldonkey = callPackage ../applications/networking/p2p/mldonkey {
|
mldonkey = callPackage ../applications/networking/p2p/mldonkey { };
|
||||||
ocaml = ocamlPackages_4_01_0.ocaml;
|
|
||||||
};
|
|
||||||
|
|
||||||
MMA = callPackage ../applications/audio/MMA { };
|
MMA = callPackage ../applications/audio/MMA { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user