1 { lib, stdenv, fetchFromSourcehut
2 , zig, glfw, libGLU, libGL, openal, libsndfile }:
4 stdenv.mkDerivation rec {
8 src = fetchFromSourcehut {
12 fetchSubmodules = true;
13 sha256 = "sha256-Hg+VcWI28GzY/CPm1lUftP0RGztOnzizrKJQVTmeJ9I=";
16 nativeBuildInputs = [ zig ];
17 buildInputs = [ glfw libGLU libGL openal libsndfile ];
24 zig build -Drelease-fast -Dcpu=baseline --prefix $out install
28 homepage = "https://sr.ht/~cnx/blackshades";
29 description = "A psychic bodyguard FPS";
30 license = lib.licenses.gpl3Plus;
31 maintainers = with lib.maintainers; [ McSinyx viric ];
32 platforms = with lib.platforms; linux;