autobase: init at 7.7.0

This commit is contained in:
themadbit 2025-05-03 14:18:55 +03:00
parent 573f2802a0
commit d5ecbe5676
2 changed files with 5253 additions and 0 deletions

5215
pkgs/by-name/au/autobase/package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,38 @@
{
lib,
buildNpmPackage,
fetchFromGitHub,
nix-update-script,
}:
buildNpmPackage (finalAttrs: {
pname = "autobase";
version = "7.7.0";
src = fetchFromGitHub {
owner = "holepunchto";
repo = "autobase";
tag = "v${finalAttrs.version}";
hash = "sha256-YKNb2lpSQgH4bDZmA4qJzUFSeJFHXJZseMEml/JxD+s=";
};
npmDepsHash = "sha256-oorYb9i/prb/5Jt/hNQcq/NPQq/kAhI2KU8d28nPv/0=";
dontNpmBuild = true;
# ERROR: Missing package-lock.json from src
# Copy vendored package-lock.json to src via postPatch
postPatch = ''
cp ${./package-lock.json} ./package-lock.json
'';
passthru.updateScript = nix-update-script { };
meta = {
description = "Concise multiwriter for data structures with Hypercore";
homepage = "https://github.com/holepunchto/autobase";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ];
teams = with lib.teams; [ ngi ];
};
})