1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 poetry-core,
6 hikari,
7 sigparse,
8 pytestCheckHook,
9 python-dotenv,
10 pytest-asyncio,
11 croniter,
12 pynacl,
13}:
14
15buildPythonPackage rec {
16 pname = "hikari-crescent";
17 version = "1.3.0";
18 pyproject = true;
19
20 src = fetchFromGitHub {
21 owner = "hikari-crescent";
22 repo = "hikari-crescent";
23 tag = "v${version}";
24 hash = "sha256-wFWltwhayvv/zkIWMGogjTqy/qZfO1hUU6CzF3T9E1Y=";
25 };
26
27 build-system = [ poetry-core ];
28
29 dependencies = [
30 hikari
31 sigparse
32 ];
33
34 pythonImportsCheck = [ "crescent" ];
35
36 nativeCheckInputs = [
37 pytestCheckHook
38 python-dotenv
39 pytest-asyncio
40 croniter
41 pynacl
42 ];
43
44 disabledTests = [ "test_handle_resp" ];
45
46 meta = {
47 description = "Command handler for Hikari that keeps your project neat and tidy";
48 license = lib.licenses.mit;
49 homepage = "https://github.com/hikari-crescent/hikari-crescent";
50 maintainers = with lib.maintainers; [ sigmanificient ];
51 mainProgram = "hikari-crescent";
52 };
53}