fsuae-launcher: refactor

- New rec-less, overlay-style overridable recursive attributes (in effect since
https://github.com/NixOS/nixpkgs/pull/119942);
- remove `with lib;`

+10 -9
+10 -9
pkgs/applications/emulators/fs-uae/launcher.nix
··· 7 , fsuae 8 }: 9 10 - stdenv.mkDerivation rec { 11 pname = "fs-uae-launcher"; 12 version = "3.1.68"; 13 14 src = fetchurl { 15 - url = "https://fs-uae.net/files/FS-UAE-Launcher/Stable/${version}/${pname}-${version}.tar.xz"; 16 - sha256 = "sha256-42EERC2yeODx0HPbwr4vmpN80z6WSWi3WzJMOT+OwDA="; 17 }; 18 19 nativeBuildInputs = [ ··· 33 dontWrapQtApps = true; 34 35 preFixup = '' 36 - wrapQtApp "$out/bin/fs-uae-launcher" --set PYTHONPATH "$PYTHONPATH" \ 37 - --prefix PATH : ${lib.makeBinPath [ fsuae ]} 38 ''; 39 40 - meta = with lib; { 41 homepage = "https://fs-uae.net"; 42 description = "Graphical front-end for the FS-UAE emulator"; 43 - license = licenses.gpl2Plus; 44 - maintainers = with maintainers; [ sander AndersonTorres ]; 45 platforms = [ "i686-linux" "x86_64-linux" ]; 46 }; 47 - } 48
··· 7 , fsuae 8 }: 9 10 + stdenv.mkDerivation (finalAttrs: { 11 pname = "fs-uae-launcher"; 12 version = "3.1.68"; 13 14 src = fetchurl { 15 + url = "https://fs-uae.net/files/FS-UAE-Launcher/Stable/${finalAttrs.version}/fs-uae-launcher-${finalAttrs.version}.tar.xz"; 16 + hash = "sha256-42EERC2yeODx0HPbwr4vmpN80z6WSWi3WzJMOT+OwDA="; 17 }; 18 19 nativeBuildInputs = [ ··· 33 dontWrapQtApps = true; 34 35 preFixup = '' 36 + wrapQtApp "$out/bin/fs-uae-launcher" \ 37 + --set PYTHONPATH "$PYTHONPATH" \ 38 + --prefix PATH : ${lib.makeBinPath [ fsuae ]} 39 ''; 40 41 + meta = { 42 homepage = "https://fs-uae.net"; 43 description = "Graphical front-end for the FS-UAE emulator"; 44 + license = lib.licenses.gpl2Plus; 45 + maintainers = with lib.maintainers; [ sander AndersonTorres ]; 46 platforms = [ "i686-linux" "x86_64-linux" ]; 47 }; 48 + }) 49