Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

50 lines
1.3 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
hikari,
croniter,
typing-extensions,
}:
buildPythonPackage rec {
pname = "hikari-lightbulb";
version = "3.1.1";
pyproject = true;
src = fetchFromGitHub {
owner = "tandemdude";
repo = "hikari-lightbulb";
tag = version;
hash = "sha256-hsd7K7VFXndQ3tE8UkIcFXADgG/Kjd2oNWdFvwAwUtw=";
};
build-system = [ flit-core ];
dependencies = [
hikari
typing-extensions
];
optional-dependencies = {
crontrigger = [ croniter ];
};
pythonImportsCheck = [ "lightbulb" ];
meta = with lib; {
broken = true; # missing linkd and confspec dependencies
description = "Command handler for Hikari, the Python Discord API wrapper library";
longDescription = ''
Lightbulb is designed to be an easy to use command handler library that integrates with the Discord API wrapper library for Python, Hikari.
This library aims to make it simple for you to make your own Discord bots and provide all the utilities and functions you need to help make this job easier.
'';
homepage = "https://hikari-lightbulb.readthedocs.io/en/latest/";
# https://github.com/tandemdude/hikari-lightbulb/blob/d87df463488d1c1d947144ac0bafa4304e12ddfd/setup.py#L68
license = licenses.lgpl3Only;
maintainers = with maintainers; [ tomodachi94 ];
};
}