Files
nixpkgs/pkgs/by-name/pi/pixelnuke/package.nix
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

42 lines
842 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 = {
description = "Multiplayer canvas (C implementation)";
homepage = "https://cccgoe.de/wiki/Pixelflut";
license = lib.licenses.unlicense;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ mrVanDalo ];
mainProgram = "pixelnuke";
};
})