2022-03-08 14:32:43 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2016-09-28 11:08:30 +00:00
|
|
|
|
2019-08-13 21:52:01 +00:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "ps3netsrv";
|
2016-09-28 11:08:30 +00:00
|
|
|
version = "1.1.0";
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2022-03-08 14:32:43 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dirkvdb";
|
|
|
|
repo = "ps3netsrv--";
|
2016-09-28 11:08:30 +00:00
|
|
|
rev = "e54a66cbf142b86e2cffc1701984b95adb921e81";
|
2022-03-08 14:32:43 +00:00
|
|
|
sha256 = "sha256-SpPyRhPwOhTONAYH/eqLGmVl2XzhA1r1nUwKj7+rGyY=";
|
|
|
|
fetchSubmodules = true;
|
2016-09-28 11:08:30 +00: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 01:11:51 +00:00
|
|
|
homepage = "https://github.com/dirkvdb/ps3netsrv--";
|
2021-01-15 07:07:56 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
maintainers = with lib.maintainers; [ makefu ];
|
2022-04-01 19:34:55 +00:00
|
|
|
mainProgram = "ps3netsrv++";
|
2016-09-28 11:08:30 +00:00
|
|
|
};
|
|
|
|
}
|