mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
Merge pull request #302174 from JohnRTitor/lightningcss
lightningcss: 1.24.0 -> 1.24.1
This commit is contained in:
commit
042af1d9f3
@ -0,0 +1,16 @@
|
||||
diff --git a/napi/Cargo.toml b/napi/Cargo.toml
|
||||
index 3360a9c..86d6ba5 100644
|
||||
--- a/napi/Cargo.toml
|
||||
+++ b/napi/Cargo.toml
|
||||
@@ -10,7 +10,7 @@ edition = "2021"
|
||||
[features]
|
||||
default = []
|
||||
visitor = ["lightningcss/visitor"]
|
||||
-bundler = ["dep:crossbeam-channel", "dep:rayon"]
|
||||
+bundler = ["dep:crossbeam-channel", "rayon"]
|
||||
|
||||
[dependencies]
|
||||
serde = { version = "1.0.123", features = ["derive"] }
|
||||
--
|
||||
2.44.0
|
||||
|
@ -6,16 +6,23 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "lightningcss";
|
||||
version = "1.24.0";
|
||||
version = "1.24.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "parcel-bundler";
|
||||
repo = "lightningcss";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-Ai6zvLR5w2AarjZIWMPoDsU1Dr5kvREgL6oyg6TF+TU=";
|
||||
hash = "sha256-HRuL7zwpN2e51+/Ltvif+eh+WBss/FtHCOlJfa/eVdE=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-HHuj7uAqipPtbjkOsxxMq+JWXww2vUDTNGgnHd3UY3o=";
|
||||
cargoHash = "sha256-HavdTNaLTGctePa890dy/jGlXZXXZu1QFeFJOpjOiME=";
|
||||
|
||||
patches = [
|
||||
# Backport fix for build error for lightningcss-napi
|
||||
# see https://github.com/parcel-bundler/lightningcss/pull/713
|
||||
# FIXME: remove when merged upstream
|
||||
./0001-napi-fix-build-error-in-cargo-auditable.patch
|
||||
];
|
||||
|
||||
buildFeatures = [
|
||||
"cli"
|
||||
|
Loading…
Reference in New Issue
Block a user