coreth: Remove package

coreth has been moved by upstream into `AvalancheGo`, which is also
packaged in nixpkgs.

Additionally, it has been unmaintained and the Darwin build broken since
2024.
This commit is contained in:
René Neumann 2026-01-15 00:52:31 +01:00
parent 5e94822196
commit 677c755a69
3 changed files with 3 additions and 45 deletions

View file

@ -103,6 +103,8 @@
- Ethercalc and its associated module have been removed, as the package is unmaintained and cannot be installed from source with npm now.
- `coreth` has been removed, as upstream has moved it into `avalanchego`.
- `nodePackages.prebuild-install` was removed because it appeared to be unmaintained upstream.
See [upstream's recommendations for alternatives](https://github.com/prebuild/prebuild-install#note).

View file

@ -1,45 +0,0 @@
{
buildGoModule,
fetchFromGitHub,
lib,
}:
buildGoModule rec {
pname = "coreth";
version = "0.15.3";
src = fetchFromGitHub {
owner = "ava-labs";
repo = "coreth";
rev = "v${version}";
hash = "sha256-c2Z0rstaOTVsMmOJbHeYJ1rxFHOA/kUzj8k8z56APZ8=";
};
# go mod vendor has a bug, see: golang/go#57529
proxyVendor = true;
vendorHash = "sha256-V0IzZbJ1KfSSF/NL4a14mL+hwXF213HM5WJS3mmT4mQ=";
ldflags = [
"-s"
"-w"
"-X github.com/ava-labs/coreth/plugin/evm.Version=${version}"
"-X github.com/ava-labs/coreth/cmd/abigen.gitCommit=${version}"
"-X github.com/ava-labs/coreth/cmd/abigen.gitDate=1970-01-01"
];
subPackages = [
"cmd/abigen"
"plugin"
];
postInstall = "mv $out/bin/{plugin,evm}";
meta = {
description = "Code and wrapper to extract Ethereum blockchain functionalities without network/consensus, for building custom blockchain services";
homepage = "https://github.com/ava-labs/coreth";
changelog = "https://github.com/ava-labs/coreth/releases/tag/v${version}";
license = lib.licenses.lgpl3Only;
maintainers = [ ];
};
}

View file

@ -485,6 +485,7 @@ mapAliases {
copper = throw "'copper' has been removed, as it was broken since 22.11"; # Added 2025-08-22
cordless = throw "'cordless' has been removed due to being archived upstream. Consider using 'discordo' instead."; # Added 2025-06-07
corepack_latest = throw "'corepack_latest' has been removed, use 'corepack.override { nodejs = pkgs.nodejs_latest; }' instead"; # Added 2025-10-25
coreth = throw "'coreth' has been moved to 'avalanchego' by upstream"; # Added 2026-01-15
cosmic-tasks = throw "'cosmic-tasks' has been renamed to/replaced by 'tasks'"; # Converted to throw 2025-10-27
cotton = throw "'cotton' has been removed since it is vulnerable to CVE-2025-62518 and upstream is unmaintained"; # Added 2025-10-26
cpp-ipfs-api = throw "'cpp-ipfs-api' has been renamed to/replaced by 'cpp-ipfs-http-client'"; # Converted to throw 2025-10-27