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