diff --git a/pkgs/development/tools/rust/cargo-web/default.nix b/pkgs/development/tools/rust/cargo-web/default.nix deleted file mode 100644 index ace033d6a114..000000000000 --- a/pkgs/development/tools/rust/cargo-web/default.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ - lib, - stdenv, - fetchFromGitHub, - openssl, - perl, - pkg-config, - rustPlatform, - CoreServices, - Security, - fetchpatch, -}: - -rustPlatform.buildRustPackage rec { - pname = "cargo-web"; - version = "0.6.26"; - - src = fetchFromGitHub { - owner = "koute"; - repo = pname; - rev = version; - sha256 = "1dl5brj5fnmxmwl130v36lvy4j64igdpdvjwmxw3jgg2c6r6b7cd"; - }; - - patches = [ - (fetchpatch { - name = "fix-qualified-path.patch"; - url = "https://github.com/koute/cargo-web/commit/c9584542163d60d0aae6d6890509794e838e257f.patch"; - hash = "sha256-w59fXmrszptKt0llqGt0AF+0b3r9N6xUY6zQkpZnemE="; - }) - ]; - - cargoHash = "sha256-apPXSG8RV9hZ+jttn4XHhgmuLQ7344SQJna7Z/fu/mA="; - - nativeBuildInputs = [ - openssl - perl - pkg-config - ]; - buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ - CoreServices - Security - ]; - - meta = with lib; { - description = "Cargo subcommand for the client-side Web"; - mainProgram = "cargo-web"; - homepage = "https://github.com/koute/cargo-web"; - license = with licenses; [ - asl20 # or - mit - ]; - maintainers = with maintainers; [ clevor ]; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index c286843179d9..bcacbb885db1 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -204,6 +204,7 @@ mapAliases { cargo-espflash = espflash; cargo-kcov = throw "'cargo-kcov' has been removed due to lack of upstream maintenance"; # Added 2025-01-25 cargo-inspect = throw "'cargo-inspect' has been removed due to lack of upstream maintenance. Upstream recommends cargo-expand."; # Added 2025-01-26 + cargo-web = throw "'cargo-web' has been removed due to lack of upstream maintenance"; # Added 2025-01-26 cawbird = throw "cawbird has been abandoned upstream and is broken anyways due to Twitter closing its API"; certmgr-selfsigned = certmgr; # Added 2023-11-30 cgal_4 = throw "cgal_4 has been removed as it is obsolete use cgal instead"; # Added 2024-12-30 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 24ca4786cd2b..7b816db83772 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6619,10 +6619,6 @@ with pkgs; ); buildRustCrateHelpers = callPackage ../build-support/rust/build-rust-crate/helpers.nix { }; - cargo-web = callPackage ../development/tools/rust/cargo-web { - inherit (darwin.apple_sdk.frameworks) CoreServices Security; - }; - cargo-flamegraph = callPackage ../development/tools/rust/cargo-flamegraph { inherit (darwin.apple_sdk.frameworks) Security; inherit (linuxPackages) perf;