diff options
author | dada513 <dada513@protonmail.com> | 2022-02-19 08:25:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-19 08:25:30 +0100 |
commit | 613b351f1342ac80f5699dbdb53b9ff5c1f1056f (patch) | |
tree | 384469afe65780c26e8fd1dd8ddee67f9e9f4978 | |
parent | 7e1fad55d965dc724b72d48e607c6b618c21afa5 (diff) | |
parent | 51183bef33a8a66c0bcc85f624c28afc27cacdef (diff) | |
download | PrismLauncher-613b351f1342ac80f5699dbdb53b9ff5c1f1056f.tar.gz PrismLauncher-613b351f1342ac80f5699dbdb53b9ff5c1f1056f.tar.bz2 PrismLauncher-613b351f1342ac80f5699dbdb53b9ff5c1f1056f.zip |
Merge pull request #168 from Kloenk/nix_flake_meta
Nix flake meta
-rw-r--r-- | flake.nix | 12 | ||||
-rw-r--r-- | packages/nix/polymc/default.nix | 13 |
2 files changed, 23 insertions, 2 deletions
@@ -16,11 +16,19 @@ }; outputs = args@{ self, nixpkgs, flake-utils, libnbtplusplus, quazip, ... }: - { + let + systems = [ + "aarch64-linux" + # "aarch64-darwin" # qtbase is currently broken + "i686-linux" + "x86_64-darwin" + "x86_64-linux" + ]; + in { overlay = final: prev: { inherit (self.packages.${final.system}) polymc; }; - } // flake-utils.lib.eachDefaultSystem (system: + } // flake-utils.lib.eachSystem systems (system: let pkgs = import nixpkgs { inherit system; }; in { packages = { diff --git a/packages/nix/polymc/default.nix b/packages/nix/polymc/default.nix index e65a7e34..a9610017 100644 --- a/packages/nix/polymc/default.nix +++ b/packages/nix/polymc/default.nix @@ -79,4 +79,17 @@ mkDerivation rec { --set GAME_LIBRARY_PATH ${gameLibraryPath} \ --prefix PATH : ${lib.makeBinPath [ xorg.xrandr ]} ''; + + meta = with lib; { + homepage = "https://polymc.org/"; + description = "A free, open source launcher for Minecraft"; + longDescription = '' + Allows you to have multiple, separate instances of Minecraft (each with + their own mods, texture packs, saves, etc) and helps you manage them and + their associated options with a simple interface. + ''; + platforms = platforms.unix; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ starcraft66 kloenk ]; + }; } |