autobase: remove
This has a sodium-native.node with a wrongly set executable bit. Now, instead of patching it, I'll just drop it because it's not a real program, but a Node library. We use `buildNpm*` for that purpose. This only makes maintenance harder because issues like this are non-trivial to spot! Related: https://github.com/NixOS/nixpkgs/pull/403638#issuecomment-3339125475
This commit is contained in:
-5309
File diff suppressed because it is too large
Load Diff
@@ -1,43 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
buildNpmPackage,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildNpmPackage (finalAttrs: {
|
||||
pname = "autobase";
|
||||
version = "7.20.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "holepunchto";
|
||||
repo = "autobase";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-SEeCbNja5BIgpQh0q0LKo452JClKQe6do5YHwRRBMcs=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-H9Xy1VD7WQvi0+86v6CMcmc0L3mB6KuSCtgQSF4AlkY=";
|
||||
|
||||
dontNpmBuild = true;
|
||||
|
||||
# ERROR: Missing package-lock.json from src
|
||||
# https://github.com/holepunchto/autobase/issues/315
|
||||
# Copy vendored package-lock.json to src via postPatch
|
||||
postPatch = ''
|
||||
cp ${./package-lock.json} ./package-lock.json
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [
|
||||
"--generate-lockfile"
|
||||
];
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Concise multiwriter for data structures with Hypercore";
|
||||
homepage = "https://github.com/holepunchto/autobase";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ ];
|
||||
teams = with lib.teams; [ ngi ];
|
||||
};
|
||||
})
|
||||
@@ -322,6 +322,7 @@ mapAliases {
|
||||
ats = throw "'ats' has been removed as it is unmaintained for 10 years and broken"; # Added 2025-05-17
|
||||
august = throw "'august' has been removed, as it has been unmaintained since august 2023"; # Added 2025-12-25
|
||||
AusweisApp2 = throw "'AusweisApp2' has been renamed to/replaced by 'ausweisapp'"; # Converted to throw 2025-10-27
|
||||
autobase = throw "'autobase' is a Node library, use buildNpmPackage for that"; # Added 2025-09-26
|
||||
autoconf213 = throw "'autoconf213' has been removed in favor of 'autoconf'"; # Added 2025-07-21
|
||||
autoconf264 = throw "'autoconf264' has been removed in favor of 'autoconf'"; # Added 2025-07-21
|
||||
automake111x = throw "'automake111x' has been removed in favor of 'automake'"; # Added 2025-07-21
|
||||
|
||||
Reference in New Issue
Block a user