Files
nixpkgs/pkgs/by-name/sw/swc/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

33 lines
650 B
Nix

{
lib,
rustPlatform,
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
pname = "swc";
version = "0.91.495";
src = fetchCrate {
pname = "swc_cli";
inherit version;
hash = "sha256-th+VLeKdTqyAjyRer0GeGLprBX0XhYTd9F7kwBDrzLo=";
};
cargoHash = "sha256-mIFZ9F0XS16OGSQlzu7H2wQZN4YUEKJlK+KHmkrc12w=";
# swc depends on nightly features
env.RUSTC_BOOTSTRAP = 1;
meta = {
description = "Rust-based platform for the Web";
mainProgram = "swc";
homepage = "https://github.com/swc-project/swc";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [
dit7ya
kashw2
];
};
}