summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/ps3netsrv/default.nix
blob: 08d7dbfdcc6ccfa969ec8d0ae80ce07b0d6d0118 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ lib
, stdenv
, fetchFromGitHub
, meson
, ninja
, mbedtls
}:

stdenv.mkDerivation rec {
  pname = "ps3netsrv";
  version = "20220813";

  src = fetchFromGitHub {
    owner = "aldostools";
    repo = "webMAN-MOD";
    rev = "5301277a0eb2275c73d7c82af9cb9e9ec34369e4";
    hash = "sha256-hgQSqRKFomHgOr1ejfKoR/Sywa3AjbinmAAgscVYs44=";
  };
  postUnpack = "pwd; ls -alhtr; ls -alhtr source";

  #dontUseCmakeConfigure = true;
  nativeBuildInputs = [ mbedtls meson ninja ];
  buildInputs = [ mbedtls ];
  sourceRoot = "./source/_Projects_/ps3netsrv";

  meta = with lib; {
    homepage = "https://github.com/aldostools/webMAN-MOD/wiki/~-PS3-NET-Server";
    description = "a server application used to stream content from a remote server to the PS3";
    maintainers = [ maintainers.makefu ];
    platforms = platforms.unix;
    license = licenses.mit;
  };
}