2023-07-10 02:04:12 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromSourcehut
|
|
|
|
, glfw
|
|
|
|
, libGL
|
|
|
|
, libGLU
|
|
|
|
, libsndfile
|
|
|
|
, openal
|
2023-08-23 19:38:32 +00:00
|
|
|
, zig_0_11
|
2023-07-10 02:04:12 +00:00
|
|
|
}:
|
2010-07-07 22:22:19 +00:00
|
|
|
|
2023-07-10 02:04:12 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2021-06-17 08:03:18 +00:00
|
|
|
pname = "blackshades";
|
2023-08-23 19:38:32 +00:00
|
|
|
version = "2.5.1";
|
2010-07-07 22:22:19 +00:00
|
|
|
|
2021-06-17 08:03:18 +00:00
|
|
|
src = fetchFromSourcehut {
|
|
|
|
owner = "~cnx";
|
2023-07-10 02:04:12 +00:00
|
|
|
repo = "blackshades";
|
|
|
|
rev = finalAttrs.version;
|
2021-10-02 11:07:28 +00:00
|
|
|
fetchSubmodules = true;
|
2023-08-23 19:38:32 +00:00
|
|
|
hash = "sha256-qdpXpuXHr9w2XMfgOVveWv3JoqdJHVB8TCqZdyaw/DM=";
|
2021-06-17 08:03:18 +00:00
|
|
|
};
|
2010-07-07 22:22:19 +00:00
|
|
|
|
2023-08-23 19:38:32 +00:00
|
|
|
nativeBuildInputs = [ zig_0_11.hook ];
|
2010-07-07 22:22:19 +00:00
|
|
|
|
2023-07-10 02:04:12 +00:00
|
|
|
buildInputs = [
|
|
|
|
glfw
|
|
|
|
libGLU
|
|
|
|
libGL
|
|
|
|
libsndfile
|
|
|
|
openal
|
|
|
|
];
|
2010-07-07 22:22:19 +00:00
|
|
|
|
|
|
|
meta = {
|
2021-06-17 08:03:18 +00:00
|
|
|
homepage = "https://sr.ht/~cnx/blackshades";
|
|
|
|
description = "Psychic bodyguard FPS";
|
2023-08-23 19:38:32 +00:00
|
|
|
changelog = "https://git.sr.ht/~cnx/blackshades/refs/${finalAttrs.version}";
|
|
|
|
mainProgram = "blackshades";
|
2021-06-17 08:03:18 +00:00
|
|
|
license = lib.licenses.gpl3Plus;
|
|
|
|
maintainers = with lib.maintainers; [ McSinyx viric ];
|
2023-07-10 02:04:12 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2010-07-07 22:22:19 +00:00
|
|
|
};
|
2023-07-10 02:04:12 +00:00
|
|
|
})
|