mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
hypercore: init at 11.7.0 (#403381)
This commit is contained in:
commit
030e0581bb
3 changed files with 5316 additions and 0 deletions
|
@ -9188,6 +9188,12 @@
|
|||
githubId = 1621335;
|
||||
name = "Andrew Trachenko";
|
||||
};
|
||||
goodylove = {
|
||||
github = "goodylove";
|
||||
email = "goodyc474@gmail.com";
|
||||
githubId = 104577296;
|
||||
name = "Nwachukwu Goodness";
|
||||
};
|
||||
gordon-bp = {
|
||||
email = "gordy@hanakano.com";
|
||||
github = "Gordon-BP";
|
||||
|
|
5272
pkgs/by-name/hy/hypercore/package-lock.json
generated
Normal file
5272
pkgs/by-name/hy/hypercore/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
38
pkgs/by-name/hy/hypercore/package.nix
Normal file
38
pkgs/by-name/hy/hypercore/package.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
lib,
|
||||
buildNpmPackage,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildNpmPackage (finalAttrs: {
|
||||
pname = "hypercore";
|
||||
version = "11.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "holepunchto";
|
||||
repo = "hypercore";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-ZAKWFSOIAQysK9+4YxbUiL0fVsqnGFqhwe9ps6ZXYv0=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-ZJxVmQWKgHyKkuYfGIlANXFcROjI7fibg6mxIhDZowM=";
|
||||
|
||||
dontNpmBuild = true;
|
||||
|
||||
postPatch = ''
|
||||
cp ${./package-lock.json} ./package-lock.json
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Secure, distributed append-only log";
|
||||
homepage = "https://github.com/holepunchto/hypercore";
|
||||
license = lib.licenses.mit;
|
||||
teams = with lib.teams; [ ngi ];
|
||||
maintainers = [ lib.maintainers.goodylove ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue