xemu: add meta attributes

- Get rid of nested `with` in meta
  + Because `with` itself is an antipattern, as explained in
    https://nix.dev/anti-patterns/language#with-attrset-expression
  + Because nested `with` has unintuitive behavior, as shown in
    https://github.com/NixOS/nix/issues/490
- Add meta.longDescription;
- Add meta.changelog;
- Update meta.maintainers list.
This commit is contained in:
Anderson Torres 2023-02-18 15:07:54 -03:00
parent 320cb59815
commit 31b278f6ad

View file

@ -125,10 +125,17 @@ stdenv.mkDerivation (self: {
runHook postInstall runHook postInstall
''; '';
meta = with lib; { meta = {
homepage = "https://xemu.app/"; homepage = "https://xemu.app/";
description = "Original Xbox emulator"; description = "Original Xbox emulator";
maintainers = with maintainers; [ ]; longDescription = ''
license = licenses.gpl2Plus; A free and open-source application that emulates the original Microsoft
Xbox game console, enabling people to play their original Xbox games on
Windows, macOS, and Linux systems.
'';
changelog = "https://github.com/xemu-project/xemu/releases/tag/v${self.version}";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ AndersonTorres genericnerdyusername ];
platforms = with lib.platforms; linux;
}; };
}) })