nixpkgs/pkgs/games/blackshades/default.nix
figsoda 17d404ee80 zig.hook: rename from zigHook
This makes using specific versions of zig easier (without overrides)
2023-08-10 02:37:53 +00:00

41 lines
750 B
Nix

{ lib
, stdenv
, fetchFromSourcehut
, glfw
, libGL
, libGLU
, libsndfile
, openal
, zig_0_9
}:
stdenv.mkDerivation (finalAttrs: {
pname = "blackshades";
version = "2.4.9";
src = fetchFromSourcehut {
owner = "~cnx";
repo = "blackshades";
rev = finalAttrs.version;
fetchSubmodules = true;
hash = "sha256-Hg+VcWI28GzY/CPm1lUftP0RGztOnzizrKJQVTmeJ9I=";
};
nativeBuildInputs = [ zig_0_9.hook ];
buildInputs = [
glfw
libGLU
libGL
libsndfile
openal
];
meta = {
homepage = "https://sr.ht/~cnx/blackshades";
description = "A psychic bodyguard FPS";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ McSinyx viric ];
platforms = lib.platforms.linux;
};
})