Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
42 lines
840 B
Nix
42 lines
840 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
libevent,
|
|
glew,
|
|
glfw,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "pixelnuke";
|
|
version = "0-unstable-2019-05-19";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "defnull";
|
|
repo = "pixelflut";
|
|
rev = "3458157a242ba1789de7ce308480f4e1cbacc916";
|
|
sha256 = "03dp0p00chy00njl4w02ahxqiwqpjsrvwg8j4yi4dgckkc3gbh40";
|
|
};
|
|
|
|
sourceRoot = "${finalAttrs.src.name}/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 ];
|
|
mainProgram = "pixelnuke";
|
|
};
|
|
})
|