diff options
author | tv <tv@krebsco.de> | 2016-07-09 13:11:05 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-07-09 13:11:05 +0200 |
commit | 91ccc70745c232834f180e3b1cfff571cd04b267 (patch) | |
tree | 02c3d5b08771493297e8cad9665ccd13e4f785de /makefu/5pkgs/ps3netsrv/default.nix | |
parent | dd9dbb3a896d1a0f610d60509a6d02f1737bc74b (diff) | |
parent | ec183d5531455d60b4c2423d657963b496e47b4b (diff) |
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'makefu/5pkgs/ps3netsrv/default.nix')
-rw-r--r-- | makefu/5pkgs/ps3netsrv/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/makefu/5pkgs/ps3netsrv/default.nix b/makefu/5pkgs/ps3netsrv/default.nix new file mode 100644 index 000000000..904185934 --- /dev/null +++ b/makefu/5pkgs/ps3netsrv/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchgit, clang, makeWrapper, gnugrep }: + +stdenv.mkDerivation rec { + name = "ps3netsrv-${version}"; + version = "1.1.0"; + + enableParallelBuilding = true; + + src = fetchgit { + url = "https://github.com/dirkvdb/ps3netsrv--"; + fetchSubmodules = true; + rev = "e54a66cbf142b86e2cffc1701984b95adb921e81"; # latest @ 2016-05-24 + sha256 = "0l7bp18cs3xr2qgsmcf18diccski49mj9whngxm9isi8wd4r9inj"; + }; + + nativeBuildInputs = [ gnugrep ]; + buildPhase = "make CXX=g++"; + installPhase = '' + mkdir -p $out/bin + cp ps3netsrv++ $out/bin + ''; + meta = { + description = "C++ implementation of the ps3netsrv server"; + homepage = https://github.com/dirkvdb/ps3netsrv--; + license = stdenv.lib.licenses.mit; + platforms = stdenv.lib.platforms.linux; + maintainers = with stdenv.lib.maintainers; [ makefu ]; + }; +} |