nixpkgs/pkgs/games/blackshades/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

44 lines
864 B
Nix

{ lib
, stdenv
, fetchFromSourcehut
, glfw
, libGL
, libGLU
, libsndfile
, openal
, zig_0_11
}:
stdenv.mkDerivation (finalAttrs: {
pname = "blackshades";
version = "2.5.1";
src = fetchFromSourcehut {
owner = "~cnx";
repo = "blackshades";
rev = finalAttrs.version;
fetchSubmodules = true;
hash = "sha256-qdpXpuXHr9w2XMfgOVveWv3JoqdJHVB8TCqZdyaw/DM=";
};
nativeBuildInputs = [ zig_0_11.hook ];
buildInputs = [
glfw
libGLU
libGL
libsndfile
openal
];
meta = {
homepage = "https://sr.ht/~cnx/blackshades";
description = "Psychic bodyguard FPS";
changelog = "https://git.sr.ht/~cnx/blackshades/refs/${finalAttrs.version}";
mainProgram = "blackshades";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ McSinyx viric ];
platforms = lib.platforms.linux;
};
})