mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
6d495d51e1
Co-authored-by: Christoph Neidahl <christoph.neidahl@gmail.com> Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
30 lines
750 B
Nix
30 lines
750 B
Nix
{ 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 ];
|
|
};
|
|
}
|