2 last months
This commit is contained in:
parent
f845745874
commit
15b909473e
63 changed files with 963 additions and 1103 deletions
4
hosts/greatyamada/services/minecraft/plugins/default.nix
Normal file
4
hosts/greatyamada/services/minecraft/plugins/default.nix
Normal file
|
@ -0,0 +1,4 @@
|
|||
{ pkgs, ... }: {
|
||||
environment.systemPackages = with pkgs;
|
||||
[ (callPackage ./packages/essentialsx.nix { }) ];
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
{ config, lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "EssentialsX";
|
||||
version = "2.20.1";
|
||||
|
||||
src = fetchurl {
|
||||
url =
|
||||
"https://github.com/EssentialsX/Essentials/releases/download/${version}/EssentialsX-${version}.jar";
|
||||
hash = "sha256-gC6jC9pGDKRZfoGJJYFpM8EjsI2BJqgU+sKNA6Yb9UI=";
|
||||
};
|
||||
|
||||
unpackPhase = ":";
|
||||
|
||||
installPhase = ''
|
||||
ln -sf EssentialsX-${version}.jar $out
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "The modern Essentials suite for Spigot and Paper.";
|
||||
homepage = "https://essentialsx.net/";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue