mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
755b915a15
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/'
44 lines
864 B
Nix
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;
|
|
};
|
|
})
|