yeoman: unbreak package

This is done via a vendored lock file, that does not contain the faulty
dependency anymore.
This commit is contained in:
Norbert Melzer
2025-03-15 14:52:07 +01:00
parent dd39867349
commit 51904f228c
2 changed files with 18502 additions and 2 deletions
+18492
View File
File diff suppressed because it is too large Load Diff
+10 -2
View File
@@ -1,6 +1,7 @@
{
lib,
buildNpmPackage,
fetchNpmDeps,
fetchFromGitHub,
}:
@@ -15,12 +16,19 @@ buildNpmPackage rec {
hash = "sha256-twV5vmQ5loR8j9guf0w5DG4sU4BQYz22GjqjsUkqE4U=";
};
npmDepsHash = "sha256-QmJDtI2PR829owY0c7DjjIwm7+TK3M/YojD0kAv1ETY=";
# needed to fix https://github.com/NixOS/nixpkgs/issues/367282
# once yo gets a new lockfile upstream, we can go back to regular
# `npmDepsHash` and remove the `postPatch`.
npmDeps = fetchNpmDeps {
src = ./.;
hash = "sha256-Fjt9/341lXW7YvyZVyAUMMcDITwyQxyG5WBgR9lJUy4=";
};
postPatch = "cp -v ${./package-lock.json} ./package-lock.json";
dontNpmBuild = true;
meta = {
broken = true; # Cannot find package 'slash'
description = "CLI tool for running Yeoman generators";
homepage = "https://github.com/yeoman/yo";
license = lib.licenses.bsd2;