diff --git a/pkgs/by-name/li/lightningcss/package.nix b/pkgs/by-name/li/lightningcss/package.nix index 447eb3911c3c..253b84bc2817 100644 --- a/pkgs/by-name/li/lightningcss/package.nix +++ b/pkgs/by-name/li/lightningcss/package.nix @@ -6,19 +6,19 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "lightningcss"; - version = "1.29.0"; + version = "1.29.2"; src = fetchFromGitHub { owner = "parcel-bundler"; repo = "lightningcss"; - tag = "v${version}"; - hash = "sha256-xnsTYOjnfcaPHlLpf83efD3w5cjqyFV5bCV89zG1GaA="; + tag = "v${finalAttrs.version}"; + hash = "sha256-JRYMbBiI4UiiVcpcyyvWXMuCUVbWShYHR++ADqntwTI="; }; useFetchCargoVendor = true; - cargoHash = "sha256-/q4XX/tN7scv0W04NexYLuOvKc09f1w+Je5UEN9Tv9g="; + cargoHash = "sha256-BCSDJKGPIB1bbZVAHW2MF4Wyu5ecIai+8E1xZZEVqgU="; patches = [ # Backport fix for build error for lightningcss-napi @@ -45,7 +45,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Extremely fast CSS parser, transformer, and minifier written in Rust"; homepage = "https://lightningcss.dev/"; - changelog = "https://github.com/parcel-bundler/lightningcss/releases/tag/v${version}"; + changelog = "https://github.com/parcel-bundler/lightningcss/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mpl20; maintainers = with lib.maintainers; [ johnrtitor @@ -54,4 +54,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "lightningcss"; platforms = lib.platforms.all; }; -} +})