mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 20:55:31 +03:00
cargo-web: remove
6 years since the last upstream commit. Lockfile is too old for fetchCargoVendor.
This commit is contained in:
parent
3e5b235146
commit
28053b8114
3 changed files with 1 additions and 59 deletions
|
@ -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 ];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -204,6 +204,7 @@ mapAliases {
|
||||||
cargo-espflash = espflash;
|
cargo-espflash = espflash;
|
||||||
cargo-kcov = throw "'cargo-kcov' has been removed due to lack of upstream maintenance"; # Added 2025-01-25
|
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-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";
|
cawbird = throw "cawbird has been abandoned upstream and is broken anyways due to Twitter closing its API";
|
||||||
certmgr-selfsigned = certmgr; # Added 2023-11-30
|
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
|
cgal_4 = throw "cgal_4 has been removed as it is obsolete use cgal instead"; # Added 2024-12-30
|
||||||
|
|
|
@ -6619,10 +6619,6 @@ with pkgs;
|
||||||
);
|
);
|
||||||
buildRustCrateHelpers = callPackage ../build-support/rust/build-rust-crate/helpers.nix { };
|
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 {
|
cargo-flamegraph = callPackage ../development/tools/rust/cargo-flamegraph {
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
inherit (linuxPackages) perf;
|
inherit (linuxPackages) perf;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue