Merge pull request #161257 from Stunkymonkey/amule-appendToName
This commit is contained in:
commit
e78f089997
@ -20,8 +20,13 @@
|
||||
, libX11
|
||||
}:
|
||||
|
||||
# daemon and client are not build monolithic
|
||||
assert monolithic || (!monolithic && (enableDaemon || client));
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "amule";
|
||||
pname = "amule"
|
||||
+ lib.optionalString enableDaemon "-daemon"
|
||||
+ lib.optionalString client "-gui";
|
||||
version = "2.3.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
@ -34,9 +39,14 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ cmake gettext makeWrapper pkg-config ];
|
||||
|
||||
buildInputs = [
|
||||
zlib wxGTK30-gtk3 perl cryptopp.dev libupnp boost
|
||||
zlib
|
||||
wxGTK30-gtk3
|
||||
perl
|
||||
cryptopp.dev
|
||||
libupnp
|
||||
boost
|
||||
] ++ lib.optional httpServer libpng
|
||||
++ lib.optional client libX11;
|
||||
++ lib.optional client libX11;
|
||||
|
||||
cmakeFlags = [
|
||||
"-DBUILD_MONOLITHIC=${if monolithic then "ON" else "OFF"}"
|
||||
|
@ -63,6 +63,8 @@ mapAliases ({
|
||||
amazon-glacier-cmd-interface = throw "amazon-glacier-cmd-interface has been removed due to it being unmaintained."; # Added 2020-10-30
|
||||
aminal = throw "aminal was renamed to darktile."; # Added 2021-09-28
|
||||
ammonite-repl = ammonite; # Added 2017-05-02
|
||||
amuleDaemon = throw "amuleDaemon was renamed to amule-daemon."; # Added 2022-02-11
|
||||
amuleGui = throw "amuleGui was renamed to amule-gui."; # Added 2022-02-11
|
||||
amsn = throw "amsn has been removed due to being unmaintained."; # Added 2020-12-09
|
||||
angelfish = libsForQt5.plasmaMobileGear.angelfish; # Added 2021-10-06
|
||||
antimicro = throw "antimicro has been removed as it was broken, see antimicrox instead."; # Added 2020-08-06
|
||||
|
@ -1534,15 +1534,15 @@ with pkgs;
|
||||
|
||||
amule = callPackage ../tools/networking/p2p/amule { };
|
||||
|
||||
amuleDaemon = appendToName "daemon" (amule.override {
|
||||
amule-daemon = amule.override {
|
||||
monolithic = false;
|
||||
enableDaemon = true;
|
||||
});
|
||||
};
|
||||
|
||||
amuleGui = appendToName "gui" (amule.override {
|
||||
amule-gui = amule.override {
|
||||
monolithic = false;
|
||||
client = true;
|
||||
});
|
||||
};
|
||||
|
||||
antennas = nodePackages.antennas;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user