mldonkey: 3.1.6 -> 3.1.7-2
This commit is contained in:
parent
e424c9118b
commit
88dbd594c8
@ -1,26 +1,31 @@
|
|||||||
{ lib, stdenv, fetchurl, ocamlPackages, zlib, bzip2, ncurses, file, gd, libpng, libjpeg }:
|
{ lib, stdenv, fetchurl, ocamlPackages, zlib }:
|
||||||
|
|
||||||
stdenv.mkDerivation ({
|
stdenv.mkDerivation (rec {
|
||||||
name = "mldonkey-3.1.6";
|
pname = "mldonkey";
|
||||||
|
version = "3.1.7-2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/ygrek/mldonkey/releases/download/release-3-1-6/mldonkey-3.1.6.tar.bz2";
|
url = "https://ygrek.org/p/release/mldonkey/mldonkey-${version}.tar.bz2";
|
||||||
sha256 = "0g84islkj72ymp0zzppcj9n4r21h0vlghnq87hv2wg580mybadhv";
|
sha256 = "b926e7aa3de4b4525af73c88f1724d576b4add56ef070f025941dd51cb24a794";
|
||||||
};
|
};
|
||||||
|
|
||||||
preConfigure = lib.optionalString (ocamlPackages.camlp4 != null) ''
|
preConfigure = ''
|
||||||
substituteInPlace Makefile --replace '+camlp4' \
|
substituteInPlace Makefile --replace '+camlp4' \
|
||||||
'${ocamlPackages.camlp4}/lib/ocaml/${ocamlPackages.ocaml.version}/site-lib/camlp4'
|
'${ocamlPackages.camlp4}/lib/ocaml/${ocamlPackages.ocaml.version}/site-lib/camlp4'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ zlib ncurses bzip2 file gd libpng libjpeg ] ++
|
buildInputs = (with ocamlPackages; [
|
||||||
(with ocamlPackages; [ ocaml camlp4 ]);
|
ocaml
|
||||||
configureFlags = [ "--disable-gui" ];
|
camlp4
|
||||||
|
num
|
||||||
|
]) ++ [
|
||||||
|
zlib
|
||||||
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Client for many p2p networks, with multiple frontends";
|
description = "Client for many p2p networks, with multiple frontends";
|
||||||
homepage = "http://mldonkey.sourceforge.net/";
|
homepage = "http://mldonkey.sourceforge.net/";
|
||||||
license = lib.licenses.gpl2;
|
license = lib.licenses.gpl2Only;
|
||||||
platforms = lib.platforms.unix;
|
platforms = lib.platforms.unix;
|
||||||
};
|
};
|
||||||
} // (if !ocamlPackages.ocaml.nativeCompilers then
|
} // (if !ocamlPackages.ocaml.nativeCompilers then
|
||||||
|
@ -24599,7 +24599,7 @@ in
|
|||||||
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 {
|
||||||
ocamlPackages = ocaml-ng.ocamlPackages_4_05;
|
ocamlPackages = ocaml-ng.ocamlPackages_4_08;
|
||||||
};
|
};
|
||||||
|
|
||||||
MMA = callPackage ../applications/audio/MMA { };
|
MMA = callPackage ../applications/audio/MMA { };
|
||||||
|
Loading…
Reference in New Issue
Block a user