nixos-config/pkgs/pixelnuke/default.nix

32 lines
739 B
Nix
Raw Normal View History

{ lib, fetchgit, libevent, glew, glfw, ... }:
2020-02-23 12:54:01 +01:00
stdenv.mkDerivation rec {
version = "2019-05-19";
name = "pixelnuke-${version}";
src = fetchgit {
url = "https://github.com/defnull/pixelflut.git";
rev = "3458157a242ba1789de7ce308480f4e1cbacc916";
sha256 = "03dp0p00chy00njl4w02ahxqiwqpjsrvwg8j4yi4dgckkc3gbh40";
};
buildInputs = [ libevent glew glfw ];
buildPhase = ''
cd pixelnuke
make
'';
installPhase = ''
mkdir -p $out/bin
cp ./pixelnuke $out/bin/
'';
meta = with lib; {
2020-02-23 12:54:01 +01:00
description = "Multiplayer canvas";
homepage = "https://cccgoe.de/wiki/Pixelflut";
license = licenses.unknown;
platforms = platforms.linux;
maintainers = with maintainers; [ mrVanDalo ];
};
}