Files
Ihar Hrachyshka cca3b04b44 treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 19:01:23 +01: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 = {
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 = lib.licenses.lgpl3Only;
maintainers = with lib.maintainers; [ tomodachi94 ];
};
}