diff options
author | Felix Buehler <account@buehler.rocks> | 2022-02-21 19:01:54 +0100 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2022-02-21 19:07:47 +0100 |
commit | 9a5767cd5c147afab072d369e7ac3a73eadb79bf (patch) | |
tree | e187dfda74fa6cb738169619e4b4264510761b26 /pkgs/tools/networking/p2p | |
parent | 71ecd7e1688f67a1970e8ee9fded31c2ece429d2 (diff) |
amuleGui,amuleDaemon: remove appendToName to have a consistent package name for repology
Diffstat (limited to 'pkgs/tools/networking/p2p')
-rw-r--r-- | pkgs/tools/networking/p2p/amule/default.nix | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/pkgs/tools/networking/p2p/amule/default.nix b/pkgs/tools/networking/p2p/amule/default.nix index c2e5f4568242f..fc389f2c4dc4a 100644 --- a/pkgs/tools/networking/p2p/amule/default.nix +++ b/pkgs/tools/networking/p2p/amule/default.nix @@ -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"}" |