2023-08-10 07:59:29 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromSourcehut
|
|
|
|
, glfw
|
|
|
|
, libGL
|
|
|
|
, libGLU
|
|
|
|
, libsndfile
|
|
|
|
, openal
|
|
|
|
, zig_0_9
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-08-10 07:59:29 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2021-06-28 23:13:55 +00:00
|
|
|
pname = "blackshades";
|
2022-03-05 16:20:37 +00:00
|
|
|
version = "2.4.9";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
src = fetchFromSourcehut {
|
|
|
|
owner = "~cnx";
|
2023-08-10 07:59:29 +00:00
|
|
|
repo = "blackshades";
|
|
|
|
rev = finalAttrs.version;
|
2022-01-19 23:45:15 +00:00
|
|
|
fetchSubmodules = true;
|
2023-08-10 07:59:29 +00:00
|
|
|
hash = "sha256-Hg+VcWI28GzY/CPm1lUftP0RGztOnzizrKJQVTmeJ9I=";
|
2021-06-28 23:13:55 +00:00
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-08-10 07:59:29 +00:00
|
|
|
nativeBuildInputs = [ zig_0_9.hook ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-08-10 07:59:29 +00:00
|
|
|
buildInputs = [
|
|
|
|
glfw
|
|
|
|
libGLU
|
|
|
|
libGL
|
|
|
|
libsndfile
|
|
|
|
openal
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
2021-06-28 23:13:55 +00:00
|
|
|
homepage = "https://sr.ht/~cnx/blackshades";
|
|
|
|
description = "A psychic bodyguard FPS";
|
|
|
|
license = lib.licenses.gpl3Plus;
|
|
|
|
maintainers = with lib.maintainers; [ McSinyx viric ];
|
2023-08-10 07:59:29 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2023-08-10 07:59:29 +00:00
|
|
|
})
|