nixpkgs/pkgs/games/blackshades/default.nix

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

44 lines
864 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromSourcehut
, glfw
, libGL
, libGLU
, libsndfile
, openal
2023-08-23 19:38:32 +00:00
, zig_0_11
}:
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";
2021-06-17 08:03:18 +00:00
src = fetchFromSourcehut {
owner = "~cnx";
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
};
2023-08-23 19:38:32 +00:00
nativeBuildInputs = [ zig_0_11.hook ];
buildInputs = [
glfw
libGLU
libGL
libsndfile
openal
];
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 ];
platforms = lib.platforms.linux;
};
})