nixpkgs-suyu/pkgs/games/blackshades/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

44 lines
866 B
Nix
Raw Normal View History

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