mcdreforged: 2.13.2 -> 2.14.4 (#365373)
This commit is contained in:
@@ -1,50 +1 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
python3,
|
||||
testers,
|
||||
mcdreforged,
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "mcdreforged";
|
||||
version = "2.13.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "MCDReforged";
|
||||
repo = "MCDReforged";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-4podJ3InBnNc+t4BpCQrg2QbJ9ZJr5fmroXyzo7JrZw=";
|
||||
};
|
||||
|
||||
build-system = [ python3.pkgs.setuptools ];
|
||||
|
||||
dependencies = with python3.pkgs; [
|
||||
colorama
|
||||
colorlog
|
||||
packaging
|
||||
parse
|
||||
prompt-toolkit
|
||||
psutil
|
||||
requests
|
||||
resolvelib
|
||||
ruamel-yaml
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ python3.pkgs.pytestCheckHook ];
|
||||
|
||||
passthru.tests = {
|
||||
version = testers.testVersion { package = mcdreforged; };
|
||||
};
|
||||
|
||||
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";
|
||||
};
|
||||
}
|
||||
{ python3Packages }: with python3Packages; toPythonApplication mcdreforged
|
||||
|
||||
@@ -0,0 +1,67 @@
|
||||
{
|
||||
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.14.4";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "MCDReforged";
|
||||
repo = "MCDReforged";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-R9zM86ohABEaxj7NYj8FCPIYsMDJp0sKjOhWzit69B8=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
colorama
|
||||
colorlog
|
||||
packaging
|
||||
parse
|
||||
prompt-toolkit
|
||||
psutil
|
||||
requests
|
||||
resolvelib
|
||||
ruamel-yaml
|
||||
typing-extensions
|
||||
pathspec
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
versionCheckHook
|
||||
];
|
||||
|
||||
versionCheckProgramArg = [ "--version" ];
|
||||
|
||||
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";
|
||||
};
|
||||
}
|
||||
@@ -7994,6 +7994,8 @@ self: super: with self; {
|
||||
|
||||
mccabe = callPackage ../development/python-modules/mccabe { };
|
||||
|
||||
mcdreforged = callPackage ../development/python-modules/mcdreforged { };
|
||||
|
||||
mcstatus = callPackage ../development/python-modules/mcstatus { };
|
||||
|
||||
mcuuid = callPackage ../development/python-modules/mcuuid { };
|
||||
|
||||
Reference in New Issue
Block a user