data endpoint for entity 90008 (aka. a website)
1{
2 lib,
3 stdenv,
4 bun,
5}:
6stdenv.mkDerivation {
7 name = "endpoint-modules";
8
9 src = lib.fileset.toSource {
10 root = ../.;
11 fileset = lib.fileset.unions [
12 ../package.json
13 ../bun.lock
14 ];
15 };
16
17 nativeBuildInputs = [bun];
18
19 outputHash = "sha256-fwpwLHGy3OB9exGCXCg0XjKBb6PuhMYpjIR77kob9ns=";
20 outputHashAlgo = "sha256";
21 outputHashMode = "recursive";
22
23 dontConfigure = true;
24 dontCheck = true;
25 dontFixup = true;
26
27 buildPhase = ''
28 HOME=$TMPDIR bun install --no-cache --no-progress --frozen-lockfile
29 '';
30 installPhase = ''
31 cp -R node_modules $out
32 ls -la $out
33 '';
34}