Merge pull request #168 from Kloenk/nix_flake_meta

Nix flake meta
This commit is contained in:
dada513 2022-02-19 08:25:30 +01:00 committed by GitHub
commit 613b351f13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 2 deletions

View File

@ -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 = {

View File

@ -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 ];
};
}