mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 22:23:15 +00:00
250c5580a6
because the original project is not compatible with the latest cfw (https://github.com/dirkvdb/ps3netsrv--/issues/18) the package is replaced with the working fork
35 lines
871 B
Nix
35 lines
871 B
Nix
{ lib, stdenv, fetchzip, mbedtls, meson, ninja, fetchFromGitHub }:
|
|
let
|
|
webManModVersion = "1.47.42";
|
|
in
|
|
stdenv.mkDerivation rec {
|
|
pname = "ps3netsrv";
|
|
version = "20220813";
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/aldostools/webMAN-MOD/releases/download/${webManModVersion}/${pname}_${version}.zip";
|
|
hash = "sha256-ynFuCD+tp8E/DDdB/HU9BCmwKcmQy6NBx26MKnP4W0o=";
|
|
};
|
|
|
|
sourceRoot = "./source/${pname}";
|
|
|
|
buildInputs = [
|
|
meson
|
|
ninja
|
|
mbedtls
|
|
];
|
|
|
|
postInstall = ''
|
|
install -Dm644 ../LICENSE.TXT $out/usr/share/licenses/${pname}/LICENSE.TXT
|
|
'';
|
|
|
|
meta = {
|
|
description = "PS3 Net Server (mod by aldostools)";
|
|
homepage = "https://github.com/aldostools/webMAN-MOD/";
|
|
license = lib.licenses.gpl3;
|
|
platforms = lib.platforms.unix;
|
|
maintainers = with lib.maintainers; [ makefu ];
|
|
mainProgram = "ps3netsrv";
|
|
};
|
|
}
|