mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
44 lines
866 B
Nix
44 lines
866 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 = "A 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;
|
|
};
|
|
})
|