rome: remove

rome is no longer maintained.
A fork called biome is available in nixpkgs.
This commit is contained in:
Felix Schröter 2023-09-23 20:32:08 +02:00 committed by Anderson Torres
parent 1bc7024af8
commit 5365ecb40b
4 changed files with 3 additions and 60 deletions

View file

@ -222,6 +222,8 @@
- `networking.networkmanager.firewallBackend` was removed as NixOS is now using iptables-nftables-compat even when using iptables, therefore Networkmanager now uses the nftables backend unconditionally.
- `rome` was removed because it is no longer maintained and is succeeded by `biome`.
## Other Notable Changes {#sec-release-23.11-notable-changes}
- The Cinnamon module now enables XDG desktop integration by default. If you are experiencing collisions related to xdg-desktop-portal-gtk you can safely remove `xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];` from your NixOS configuration.

View file

@ -1,58 +0,0 @@
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, stdenv
, darwin
, nix-update-script
}:
rustPlatform.buildRustPackage rec {
pname = "rome";
version = "12.1.3";
src = fetchFromGitHub {
owner = "rome";
repo = "tools";
rev = "cli/v${version}";
hash = "sha256-BlHpdfbyx6nU44vasEw0gRZ0ickyD2eUXPfeFZHSCbI=";
};
cargoHash = "sha256-jHdoRymKPjBonT4TvAiTNzGBuTcNoPsvdFKEf33dpVc=";
cargoBuildFlags = [ "--package" "rome_cli" ];
env = {
RUSTFLAGS = "-C strip=symbols";
ROME_VERSION = version;
};
buildInputs =
lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
nativeBuildInputs = [ pkg-config ];
# need to manually unset the ROME_VERSION before checkPhase otherwise some tests fail
preCheck = ''
unset ROME_VERSION;
'';
# these test fail
checkFlags = [
"--skip parser::tests::uncompleted_markers_panic"
"--skip commands::check::fs_error_infinite_symlink_exapansion"
"--skip commands::check::fs_error_dereferenced_symlink"
];
passthru.updateScript = nix-update-script {
extraArgs = [ "--version-regex" "cli%2Fv(.*)" ];
};
meta = with lib; {
description = "A formatter, linter, bundler, and more for JavaScript, TypeScript, JSON, HTML, Markdown, and CSS";
homepage = "https://rome.tools";
changelog = "https://github.com/rome/tools/blob/${src.rev}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ dit7ya felschr ];
};
}

View file

@ -1580,6 +1580,7 @@ mapAliases ({
robomongo = throw "'robomongo' has been renamed to/replaced by 'robo3t'"; # Converted to throw 2022-02-22
rockbox_utility = rockbox-utility; # Added 2022-03-17
rocm-runtime-ext = throw "rocm-runtime-ext has been removed, since its functionality was added to rocm-runtime"; #added 2020-08-21
rome = throw "rome is no longer maintained, consider using biome instead"; # Added 2023-09-12
rpiboot-unstable = rpiboot; # Added 2021-07-30
rr-unstable = rr; # Added 2022-09-17
rssglx = throw "'rssglx' has been renamed to/replaced by 'rss-glx'"; # Converted to throw 2022-02-22

View file

@ -20160,8 +20160,6 @@ with pkgs;
rolespec = callPackage ../development/tools/misc/rolespec { };
rome = callPackage ../development/tools/rome { };
rr = callPackage ../development/tools/analysis/rr { };
rsass = callPackage ../development/tools/misc/rsass { };