lightningcss: init at 1.14.0
This commit is contained in:
parent
cc46999e0a
commit
4873ebf5ed
2 changed files with 34 additions and 0 deletions
32
pkgs/development/tools/lightningcss/default.nix
Normal file
32
pkgs/development/tools/lightningcss/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
{ lib
|
||||||
|
, rustPlatform
|
||||||
|
, fetchFromGitHub
|
||||||
|
, stdenv
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "lightningcss";
|
||||||
|
version = "1.14.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "parcel-bundler";
|
||||||
|
repo = "lightningcss";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-6OitOUy5y00gOWzXxvPuVJQlvERayHG1RK7To9kx23s=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "sha256-RFI/QrUixKy+sxIw1NUTjHT8oQJFEnWNbbuAA6Rh18Y=";
|
||||||
|
|
||||||
|
buildFeatures = [ "cli" ];
|
||||||
|
|
||||||
|
cargoBuildFlags = [ "--lib" "--bin=lightningcss" ];
|
||||||
|
|
||||||
|
cargoTestFlags = [ "--lib" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Extremely fast CSS parser, transformer, and minifier written in Rust";
|
||||||
|
homepage = "https://lightningcss.dev/";
|
||||||
|
license = licenses.mpl20;
|
||||||
|
maintainers = with maintainers; [ toastal ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -16659,6 +16659,8 @@ with pkgs;
|
||||||
|
|
||||||
lenmus = callPackage ../applications/misc/lenmus { };
|
lenmus = callPackage ../applications/misc/lenmus { };
|
||||||
|
|
||||||
|
lightningcss = callPackage ../development/tools/lightningcss { };
|
||||||
|
|
||||||
libtool = libtool_2;
|
libtool = libtool_2;
|
||||||
|
|
||||||
libtool_1_5 = callPackage ../development/tools/misc/libtool { };
|
libtool_1_5 = callPackage ../development/tools/misc/libtool { };
|
||||||
|
|
Loading…
Reference in a new issue