@@ -0,0 +1,29 @@
1+{ lib, stdenv, fetchFromGitHub, libevent, glew, glfw }:
2+
3+stdenv.mkDerivation {
4+ pname = "pixelnuke";
5+ version = "unstable-2019-05-19";
6+
7+ src = fetchFromGitHub {
8+ owner = "defnull";
9+ repo = "pixelflut";
10+ rev = "3458157a242ba1789de7ce308480f4e1cbacc916";
11+ sha256 = "03dp0p00chy00njl4w02ahxqiwqpjsrvwg8j4yi4dgckkc3gbh40";
12+ };
13+
14+ sourceRoot = "source/pixelnuke";
15+
16+ buildInputs = [ libevent glew glfw ];
17+
18+ installPhase = ''
19+ install -Dm755 ./pixelnuke $out/bin/pixelnuke
20+ '';
21+
22+ meta = with lib; {
23+ description = "Multiplayer canvas (C implementation)";
24+ homepage = "https://cccgoe.de/wiki/Pixelflut";
25+ license = licenses.unlicense;
26+ platforms = platforms.linux;
27+ maintainers = with maintainers; [ mrVanDalo ];
28+ };
29+}