swc: init at 0.91.19
This commit is contained in:
parent
e15d68cb21
commit
b397c8b216
2 changed files with 28 additions and 0 deletions
26
pkgs/development/tools/swc/default.nix
Normal file
26
pkgs/development/tools/swc/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ lib
|
||||
, rustPlatform
|
||||
, fetchCrate
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "swc";
|
||||
version = "0.91.19";
|
||||
|
||||
src = fetchCrate {
|
||||
pname = "swc_cli";
|
||||
inherit version;
|
||||
sha256 = "sha256-BzReetAOKSGzHhITXpm+J2Rz8d9Hq2HUagQmfst74Ag=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-1U9YLrPYENv9iJobCxtgnQakJLDctWQwnDUtpLG3PGc=";
|
||||
|
||||
buildFeatures = [ "swc_core/plugin_transform_host_native" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Rust-based platform for the Web";
|
||||
homepage = "https://github.com/swc-project/swc";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ dit7ya ];
|
||||
};
|
||||
}
|
|
@ -12241,6 +12241,8 @@ with pkgs;
|
|||
|
||||
swapview = callPackage ../os-specific/linux/swapview { };
|
||||
|
||||
swc = callPackage ../development/tools/swc { };
|
||||
|
||||
swtpm = callPackage ../tools/security/swtpm { };
|
||||
|
||||
svnfs = callPackage ../tools/filesystems/svnfs { };
|
||||
|
|
Loading…
Reference in a new issue