mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 05:05:29 +03:00
autobase: init at 7.7.0
This commit is contained in:
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
5215
pkgs/by-name/au/autobase/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
38
pkgs/by-name/au/autobase/package.nix
Normal file
38
pkgs/by-name/au/autobase/package.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
})
|
Loading…
Add table
Add a link
Reference in a new issue