aerc: use finalAttrs pattern

authored by Defelo and committed by Masum Reza 272717e3 3567ac73

+4 -4
+4 -4
pkgs/by-name/ae/aerc/package.nix
··· 14 14 nix-update-script, 15 15 }: 16 16 17 - buildGoModule rec { 17 + buildGoModule (finalAttrs: { 18 18 pname = "aerc"; 19 19 version = "0.20.1"; 20 20 21 21 src = fetchFromSourcehut { 22 22 owner = "~rjarry"; 23 23 repo = "aerc"; 24 - rev = version; 24 + rev = finalAttrs.version; 25 25 hash = "sha256-IBTM3Ersm8yUCgiBLX8ozuvMEbfmY6eW5xvJD20UgRA="; 26 26 }; 27 27 ··· 91 91 meta = { 92 92 description = "Email client for your terminal"; 93 93 homepage = "https://aerc-mail.org/"; 94 - changelog = "https://git.sr.ht/~rjarry/aerc/tree/${version}/item/CHANGELOG.md"; 94 + changelog = "https://git.sr.ht/~rjarry/aerc/tree/${finalAttrs.version}/item/CHANGELOG.md"; 95 95 maintainers = with lib.maintainers; [ 96 96 defelo 97 97 sikmir ··· 100 100 license = lib.licenses.mit; 101 101 platforms = lib.platforms.unix; 102 102 }; 103 - } 103 + })