summary refs log tree commit diff
path: root/pkgs/applications/graphics/pixelnuke
diff options
context:
space:
mode:
authorIngolf Wagner <contact@ingolf-wagner.de>2021-04-24 08:53:06 +0200
committerGitHub <noreply@github.com>2021-04-24 08:53:06 +0200
commit6d495d51e19fc474aa8b587c4bc09f60ed3cd706 (patch)
tree92376823b0b41c38c74243f31ce9e88ee780c1bd /pkgs/applications/graphics/pixelnuke
parent5cecebfb2f76da7b93f19967e99b3ff4fb4d2850 (diff)
pixelnuke: init 2019-05-19 (#119709)
Co-authored-by: Christoph Neidahl <christoph.neidahl@gmail.com>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'pkgs/applications/graphics/pixelnuke')
-rw-r--r--pkgs/applications/graphics/pixelnuke/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/pixelnuke/default.nix b/pkgs/applications/graphics/pixelnuke/default.nix
new file mode 100644
index 0000000000000..4cb2440cb8eec
--- /dev/null
+++ b/pkgs/applications/graphics/pixelnuke/default.nix
@@ -0,0 +1,29 @@
+{ lib, stdenv, fetchFromGitHub, libevent, glew, glfw }:
+
+stdenv.mkDerivation {
+  pname = "pixelnuke";
+  version = "unstable-2019-05-19";
+
+  src = fetchFromGitHub {
+    owner = "defnull";
+    repo = "pixelflut";
+    rev = "3458157a242ba1789de7ce308480f4e1cbacc916";
+    sha256 = "03dp0p00chy00njl4w02ahxqiwqpjsrvwg8j4yi4dgckkc3gbh40";
+  };
+
+  sourceRoot = "source/pixelnuke";
+
+  buildInputs = [ libevent glew glfw ];
+
+  installPhase = ''
+    install -Dm755 ./pixelnuke $out/bin/pixelnuke
+  '';
+
+  meta = with lib; {
+    description = "Multiplayer canvas (C implementation)";
+    homepage = "https://cccgoe.de/wiki/Pixelflut";
+    license = licenses.unlicense;
+    platforms = platforms.linux;
+    maintainers = with maintainers; [ mrVanDalo ];
+  };
+}