2022-03-08 15:32:43 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2016-09-28 13:08:30 +02:00
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "ps3netsrv";
|
2016-09-28 13:08:30 +02:00
|
|
|
version = "1.1.0";
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2022-03-08 15:32:43 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dirkvdb";
|
|
|
|
repo = "ps3netsrv--";
|
2016-09-28 13:08:30 +02:00
|
|
|
rev = "e54a66cbf142b86e2cffc1701984b95adb921e81";
|
2022-03-08 15:32:43 +01:00
|
|
|
sha256 = "sha256-SpPyRhPwOhTONAYH/eqLGmVl2XzhA1r1nUwKj7+rGyY=";
|
|
|
|
fetchSubmodules = true;
|
2016-09-28 13:08:30 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildPhase = "make CXX=$CXX";
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp ps3netsrv++ $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "C++ implementation of the ps3netsrv server";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/dirkvdb/ps3netsrv--";
|
2021-01-15 08:07:56 +01:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
maintainers = with lib.maintainers; [ makefu ];
|
2022-04-01 21:34:55 +02:00
|
|
|
mainProgram = "ps3netsrv++";
|
2016-09-28 13:08:30 +02:00
|
|
|
};
|
|
|
|
}
|