blob: 1d8e4cc454612cf858b4b47ff52d1a6844284826 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
{
buildPythonPackage,
fetchFromGitHub,
setuptools,
discordpy,
lib,
}:
let
pname = "reactionmenu";
version = "3.1.7";
in
buildPythonPackage {
inherit pname version;
src = fetchFromGitHub {
owner = "Defxult";
repo = "reactionmenu";
tag = "v${version}";
hash = "sha256-ftRrpNOJIa2DSBr9YOH3Bhn8iXE1Pgtv0f57/rsCqJU=";
};
pyproject = true;
build-system = [
setuptools
];
dependencies = [
discordpy
];
pythonImportsCheck = [ "reactionmenu" ];
meta = {
description = "Library to create a discord.py 2.0+ paginator";
longDescription = ''
A Python library to create a discord.py 2.0+ paginator (reaction menu/buttons menu).
Supports pagination with buttons, reactions, and category selection using selects.
'';
homepage = "https://github.com/Defxult/reactionmenu";
changelog = "https://github.com/Defxult/reactionmenu/blob/v${version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ amadaluzia ];
};
}
|