nixpkgs-suyu/pkgs/servers/ps3netsrv/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
768 B
Nix
Raw Normal View History

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 {
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";
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 ];
mainProgram = "ps3netsrv++";
2016-09-28 13:08:30 +02:00
};
}