Skip to content

Commit

Permalink
Merge pull request NixOS#269078 from lilyinstarlight/fix/prefetch-npm…
Browse files Browse the repository at this point in the history
…-deps-more-bad-lockfiles
  • Loading branch information
Janik-Haag authored Dec 3, 2023
2 parents e61cf89 + 09081aa commit b678419
Show file tree
Hide file tree
Showing 6 changed files with 98 additions and 81 deletions.
120 changes: 60 additions & 60 deletions pkgs/build-support/node/fetch-npm-deps/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions pkgs/build-support/node/fetch-npm-deps/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,16 @@ edition = "2021"
[dependencies]
anyhow = "1.0.75"
backoff = "0.4.0"
base64 = "0.21.4"
base64 = "0.21.5"
digest = "0.10.7"
env_logger = "0.10.0"
env_logger = "0.10.1"
isahc = { version = "1.7.2", default_features = false }
log = "0.4.20"
rayon = "1.8.0"
serde = { version = "1.0.188", features = ["derive"] }
serde_json = "1.0.107"
serde = { version = "1.0.193", features = ["derive"] }
serde_json = "1.0.108"
sha1 = "0.10.6"
sha2 = "0.10.8"
tempfile = "3.8.0"
tempfile = "3.8.1"
url = { version = "2.4.1", features = ["serde"] }
walkdir = "2.4.0"
12 changes: 12 additions & 0 deletions pkgs/build-support/node/fetch-npm-deps/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,18 @@

forceGitDeps = true;
};

# This package has a lockfile v1 git dependency with no `dependencies` attribute, since it sementically has no dependencies.
jitsiMeet9111 = makeTest {
name = "jitsi-meet-9111";

src = fetchurl {
url = "https://raw.githubusercontent.com/jitsi/jitsi-meet/stable/jitsi-meet_9111/package-lock.json";
hash = "sha256-NU+eQD4WZ4BMur8uX79uk8wUPsZvIT02KhPWHTmaihk=";
};

hash = "sha256-FhxlJ0HdJMPiWe7+n1HaGLWOr/2HJEPwiS65uqXZM8Y=";
};
};

meta = with lib; {
Expand Down
Loading

0 comments on commit b678419

Please sign in to comment.