nixpkgs/pkgs/servers/ps3netsrv/default.nix

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

31 lines
735 B
Nix
Raw Normal View History

2022-03-08 17:32:43 +03:00
{ lib, stdenv, fetchFromGitHub }:
2016-09-28 14:08:30 +03:00
2019-08-14 00:52:01 +03:00
stdenv.mkDerivation {
pname = "ps3netsrv";
2016-09-28 14:08:30 +03:00
version = "1.1.0";
enableParallelBuilding = true;
2022-03-08 17:32:43 +03:00
src = fetchFromGitHub {
owner = "dirkvdb";
repo = "ps3netsrv--";
2016-09-28 14:08:30 +03:00
rev = "e54a66cbf142b86e2cffc1701984b95adb921e81";
2022-03-08 17:32:43 +03:00
sha256 = "sha256-SpPyRhPwOhTONAYH/eqLGmVl2XzhA1r1nUwKj7+rGyY=";
fetchSubmodules = true;
2016-09-28 14:08:30 +03: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 10:07:56 +03:00
license = lib.licenses.mit;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ makefu ];
2016-09-28 14:08:30 +03:00
};
}