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 , zlib 18 }: 19 20 - 21 - stdenv.mkDerivation rec { 22 pname = "fs-uae"; 23 version = "3.1.66"; 24 25 src = fetchFromGitHub { 26 owner = "FrodeSolheim"; 27 - repo = pname; 28 - rev = "v${version}"; 29 hash = "sha256-zPVRPazelmNaxcoCStB0j9b9qwQDTgv3O7Bg3VlW9ys="; 30 }; 31 ··· 49 zlib 50 ]; 51 52 - meta = with lib; { 53 homepage = "https://fs-uae.net"; 54 description = "An accurate, customizable Amiga Emulator"; 55 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. 60 ''; 61 - license = licenses.gpl2Plus; 62 - maintainers = with maintainers; [ AndersonTorres ]; 63 platforms = [ "i686-linux" "x86_64-linux" ]; 64 }; 65 - }
··· 17 , zlib 18 }: 19 20 + stdenv.mkDerivation (finalAttrs:{ 21 pname = "fs-uae"; 22 version = "3.1.66"; 23 24 src = fetchFromGitHub { 25 owner = "FrodeSolheim"; 26 + repo = "fs-uae"; 27 + rev = "v${finalAttrs.version}"; 28 hash = "sha256-zPVRPazelmNaxcoCStB0j9b9qwQDTgv3O7Bg3VlW9ys="; 29 }; 30 ··· 48 zlib 49 ]; 50 51 + meta = { 52 homepage = "https://fs-uae.net"; 53 description = "An accurate, customizable Amiga Emulator"; 54 longDescription = '' 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. 59 ''; 60 + license = lib.licenses.gpl2Plus; 61 + maintainers = with lib.maintainers; [ AndersonTorres ]; 62 platforms = [ "i686-linux" "x86_64-linux" ]; 63 }; 64 + })