sccache: use `finalAttrs` pattern instead of `rec`

authored by

unixpariah and committed by
os1
22b7bcb5 b9e3822c

+4 -4
+4 -4
pkgs/by-name/sc/sccache/package.nix
··· 7 distributed ? false, 8 }: 9 10 - rustPlatform.buildRustPackage rec { 11 version = "0.10.0"; 12 pname = "sccache"; 13 14 src = fetchFromGitHub { 15 owner = "mozilla"; 16 repo = "sccache"; 17 - rev = "v${version}"; 18 sha256 = "sha256-VEDMeRFQKNPS3V6/DhMWxHR7YWsCzAXTzp0lO+COl08="; 19 }; 20 ··· 40 description = "Ccache with Cloud Storage"; 41 mainProgram = "sccache"; 42 homepage = "https://github.com/mozilla/sccache"; 43 - changelog = "https://github.com/mozilla/sccache/releases/tag/v${version}"; 44 maintainers = with lib.maintainers; [ 45 doronbehar 46 figsoda 47 ]; 48 license = lib.licenses.asl20; 49 }; 50 - }
··· 7 distributed ? false, 8 }: 9 10 + rustPlatform.buildRustPackage (finalAttrs: { 11 version = "0.10.0"; 12 pname = "sccache"; 13 14 src = fetchFromGitHub { 15 owner = "mozilla"; 16 repo = "sccache"; 17 + rev = "v${finalAttrs.version}"; 18 sha256 = "sha256-VEDMeRFQKNPS3V6/DhMWxHR7YWsCzAXTzp0lO+COl08="; 19 }; 20 ··· 40 description = "Ccache with Cloud Storage"; 41 mainProgram = "sccache"; 42 homepage = "https://github.com/mozilla/sccache"; 43 + changelog = "https://github.com/mozilla/sccache/releases/tag/v${finalAttrs.version}"; 44 maintainers = with lib.maintainers; [ 45 doronbehar 46 figsoda 47 ]; 48 license = lib.licenses.asl20; 49 }; 50 + })