fsuae: refactor

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

+11 -12
+11 -12
pkgs/applications/emulators/fs-uae/default.nix
··· 17 17 , zlib 18 18 }: 19 19 20 - 21 - stdenv.mkDerivation rec { 20 + stdenv.mkDerivation (finalAttrs:{ 22 21 pname = "fs-uae"; 23 22 version = "3.1.66"; 24 23 25 24 src = fetchFromGitHub { 26 25 owner = "FrodeSolheim"; 27 - repo = pname; 28 - rev = "v${version}"; 26 + repo = "fs-uae"; 27 + rev = "v${finalAttrs.version}"; 29 28 hash = "sha256-zPVRPazelmNaxcoCStB0j9b9qwQDTgv3O7Bg3VlW9ys="; 30 29 }; 31 30 ··· 49 48 zlib 50 49 ]; 51 50 52 - meta = with lib; { 51 + meta = { 53 52 homepage = "https://fs-uae.net"; 54 53 description = "An accurate, customizable Amiga Emulator"; 55 54 longDescription = '' 56 - FS-UAE integrates the most accurate Amiga emulation code available 57 - from WinUAE. FS-UAE emulates A500, A500+, A600, A1200, A1000, A3000 58 - and A4000 models, but you can tweak the hardware configuration and 59 - create customized Amigas. 55 + FS-UAE integrates the most accurate Amiga emulation code available from 56 + WinUAE. FS-UAE emulates A500, A500+, A600, A1200, A1000, A3000 and A4000 57 + models, but you can tweak the hardware configuration and create customized 58 + Amigas. 60 59 ''; 61 - license = licenses.gpl2Plus; 62 - maintainers = with maintainers; [ AndersonTorres ]; 60 + license = lib.licenses.gpl2Plus; 61 + maintainers = with lib.maintainers; [ AndersonTorres ]; 63 62 platforms = [ "i686-linux" "x86_64-linux" ]; 64 63 }; 65 - } 64 + })