Commit 31b278f6 authored by Anderson Torres's avatar Anderson Torres
Browse files

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.
parent 320cb598
Loading
Loading
Loading
Loading
+10 −3
Original line number Diff line number Diff line
@@ -125,10 +125,17 @@ stdenv.mkDerivation (self: {
    runHook postInstall
  '';

  meta = with lib; {
  meta = {
    homepage = "https://xemu.app/";
    description = "Original Xbox emulator";
    maintainers = with maintainers; [ ];
    license = licenses.gpl2Plus;
    longDescription = ''
      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;
  };
})