1 { lib, stdenv, fetchzip, mbedtls, meson, ninja }:
3 webManModVersion = "1.47.42";
5 stdenv.mkDerivation rec {
10 url = "https://github.com/aldostools/webMAN-MOD/releases/download/${webManModVersion}/${pname}_${version}.zip";
11 hash = "sha256-ynFuCD+tp8E/DDdB/HU9BCmwKcmQy6NBx26MKnP4W0o=";
14 sourceRoot = "./source/${pname}";
22 env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-Doff64_t=off_t";
25 install -Dm644 ../LICENSE.TXT $out/usr/share/licenses/${pname}/LICENSE.TXT
29 description = "PS3 Net Server (mod by aldostools)";
30 homepage = "https://github.com/aldostools/webMAN-MOD/";
31 license = lib.licenses.gpl3;
32 platforms = lib.platforms.unix;
33 maintainers = with lib.maintainers; [ makefu ];
34 mainProgram = "ps3netsrv";