summary refs log tree commit diff
diff options
context:
space:
mode:
authorWinter <winter@winter.cafe>2022-11-09 22:17:53 -0500
committerWinter <winter@winter.cafe>2022-11-21 15:00:08 -0500
commitc6903a01e71f77ecd2000397d081ce1447fe0615 (patch)
tree6b06a0a980f40b4d070b4a5f9b12861b407563f1
parent03a7739d75285320d7ebff7626a122c6a6592878 (diff)
prefetch-npm-deps: add etherpad-lite v1.8.18 as a test
-rw-r--r--pkgs/build-support/node/fetch-npm-deps/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/build-support/node/fetch-npm-deps/default.nix b/pkgs/build-support/node/fetch-npm-deps/default.nix
index 128669b890009..24c1d016b090a 100644
--- a/pkgs/build-support/node/fetch-npm-deps/default.nix
+++ b/pkgs/build-support/node/fetch-npm-deps/default.nix
@@ -92,6 +92,18 @@
 
           hash = "sha256-uQx8F5OXKm+fqx6hP6obVYTlQIYcJwtO52j6VQNo7Sk=";
         };
+
+        # This package contains both hosted Git shorthand, and a bundled dependency that happens to override an existing one.
+        etherpadLite1818 = makeTest {
+          name = "etherpad-lite-1.8.18";
+
+          src = fetchurl {
+            url = "https://raw.githubusercontent.com/ether/etherpad-lite/1.8.18/src/package-lock.json";
+            hash = "sha256-1fGNxYJi1I4cXK/jinNG+Y6tPEOhP3QAqWOBEQttS9E=";
+          };
+
+          hash = "sha256-TzUFykASDjXlfmgq2bUIJjUkfLlGLUkRTVFPIYPCmyc=";
+        };
       };
 
     meta = with lib; {