nixpkgs/pkgs/servers/ps3netsrv/default.nix

30 lines
725 B
Nix
Raw Normal View History

2021-01-15 07:07:56 +00:00
{ lib, stdenv, fetchgit }:
2016-09-28 12:08:30 +01:00
2019-08-13 22:52:01 +01:00
stdenv.mkDerivation {
pname = "ps3netsrv";
2016-09-28 12:08:30 +01:00
version = "1.1.0";
enableParallelBuilding = true;
src = fetchgit {
url = "https://github.com/dirkvdb/ps3netsrv--";
fetchSubmodules = true;
rev = "e54a66cbf142b86e2cffc1701984b95adb921e81";
sha256 = "09hvmfzqy2jckpsml0z1gkcnar8sigmgs1q66k718fph2d3g54sa";
};
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 07:07:56 +00:00
license = lib.licenses.mit;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ makefu ];
2016-09-28 12:08:30 +01:00
};
}