Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 67 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768{ 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.7"; pyproject = true;
src = fetchFromGitHub { owner = "MCDReforged"; repo = "MCDReforged"; tag = "v${version}"; hash = "sha256-KwXvjLS9tg3EZT9vYFfiOIjPGswcOwdl66ErKPKS2rA="; };
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"; };}