dd8d813a73
Also, a cosmetic refactor: - Reorder parameter listing - Use rec-less, overlay-style overridable recursive attributes (in effect since NixOS#119942); - Remove nested with (according to https://nix.dev/recipes/best-practices#with-scopes)
42 lines
745 B
Nix
42 lines
745 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromSourcehut
|
|
, glfw
|
|
, libGL
|
|
, libGLU
|
|
, libsndfile
|
|
, openal
|
|
, zigHook
|
|
}:
|
|
|
|
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 = [ zigHook ];
|
|
|
|
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;
|
|
};
|
|
})
|