drasl: better description + fixed license + added minecraft metadata
This commit is contained in:
parent
2eb738acfb
commit
c1772d69fc
1 changed files with 27 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, ... }:
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
sources = import ./../../../shared/sources;
|
||||
|
@ -114,7 +114,12 @@ in {
|
|||
# meta
|
||||
mine.shared.meta.drasl = rec {
|
||||
name = "Drasl";
|
||||
description = ''Yggdrasil-compatible API server for Minecraft'';
|
||||
description = ''
|
||||
Yggdrasil-compatible API server for Minecraft, which can be used instead of the official Minecraft authentication server.
|
||||
This means that we do not require Mojangs servers, to authenticate with any server managed by ${config.mine.shared.settings.brand}.
|
||||
|
||||
It is possible to login with OIDC on Drasl, and then import your Mojang player into Drasl.
|
||||
'';
|
||||
url = "https://${svc_domain}";
|
||||
|
||||
package = let
|
||||
|
@ -122,6 +127,26 @@ in {
|
|||
in {
|
||||
name = pkg.pname;
|
||||
version = pkg.version;
|
||||
meta = with lib; {
|
||||
description = "Yggdrasil-compatible API server for Minecraft";
|
||||
license = lib.licenses.gpl3Only;
|
||||
homepage = "https://github.com/unmojang/drasl";
|
||||
platforms = platforms.all;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# TODO(eyJhb): this should not be placed here
|
||||
mine.shared.meta.minecraft = rec {
|
||||
name = "Minecraft";
|
||||
description = ''We're running a vanilla Minecraft hosted externally by a member'';
|
||||
url = "mcvanilla.${config.mine.shared.settings.domain}";
|
||||
|
||||
package = let
|
||||
pkg = pkgs.minecraft-server;
|
||||
in {
|
||||
name = pkg.pname;
|
||||
version = "1.21.5";
|
||||
meta = pkg.meta;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue