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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
{
lib,
fetchFromGitHub,
buildPythonPackage,
setuptools,
colorama,
colorlog,
packaging,
parse,
prompt-toolkit,
psutil,
requests,
resolvelib,
ruamel-yaml,
typing-extensions,
pathspec,
pytestCheckHook,
versionCheckHook,
nix-update-script,
}:
buildPythonPackage rec {
pname = "mcdreforged";
version = "2.15.7";
pyproject = true;
src = fetchFromGitHub {
owner = "MCDReforged";
repo = "MCDReforged";
tag = "v${version}";
hash = "sha256-e1JrDh8Zio+TCVCVvH8tBE/tY5ja3Nr3dCQRJwRqYh4=";
};
build-system = [ setuptools ];
dependencies = [
colorama
colorlog
packaging
parse
prompt-toolkit
psutil
requests
resolvelib
ruamel-yaml
typing-extensions
pathspec
];
nativeCheckInputs = [
pytestCheckHook
versionCheckHook
];
passthru.updateScript = nix-update-script { };
meta = {
description = "Rewritten version of MCDaemon, a python tool to control your Minecraft server";
homepage = "https://mcdreforged.com";
changelog = "https://github.com/MCDReforged/MCDReforged/releases/tag/v${version}";
license = lib.licenses.lgpl3Only;
maintainers = with lib.maintainers; [ moraxyc ];
mainProgram = "mcdreforged";
};
}
|