about summary refs log tree commit diff
path: root/pkgs/servers/polaris
diff options
context:
space:
mode:
authorRobert Schütz <nix@dotlambda.de>2023-07-25 22:23:06 -0700
committerRobert Schütz <nix@dotlambda.de>2023-07-26 22:55:51 -0700
commitc5f924dcc2e2a4dc087620ba58a2515d4841e008 (patch)
treeee0a101524350543ea9729a604247a0bede993e0 /pkgs/servers/polaris
parent025b63b129a40683aa24ac9576746d5551709652 (diff)
polaris-web: 55 -> 67
Diff: https://github.com/agersant/polaris-web/compare/build-55...build-67
Diffstat (limited to 'pkgs/servers/polaris')
-rw-r--r--pkgs/servers/polaris/web.nix18
1 files changed, 4 insertions, 14 deletions
diff --git a/pkgs/servers/polaris/web.nix b/pkgs/servers/polaris/web.nix
index ee3042b6bbdd9..d0c310c2ad86a 100644
--- a/pkgs/servers/polaris/web.nix
+++ b/pkgs/servers/polaris/web.nix
@@ -1,33 +1,23 @@
 { lib
 , buildNpmPackage
 , fetchFromGitHub
-, nodePackages
-, python3
 }:
 
 buildNpmPackage rec {
   pname = "polaris-web";
-  version = "build-55";
+  version = "67";
 
   src = fetchFromGitHub {
     owner = "agersant";
     repo = "polaris-web";
-    rev = version;
-    sha256 = "2XqU4sExF7Or7RxpOK2XU9APtBujfPhM/VkOLKVDvF4=";
+    rev = "build-${version}";
+    hash = "sha256-mhrgHNbqxLhhLWP4eu1A3ytrx9Q3X0EESL2LuTfgsBE=";
   };
 
-  npmDepsHash = "sha256-sSd1WSS9xsaVr9mCQueAuqceOv5SkSzqsxX9kHYC8Xo=";
-
-  nativeBuildInputs = [
-    nodePackages.node-gyp-build
-    python3
-  ];
+  npmDepsHash = "sha256-lScXbxkJiRq5LLFkoz5oZsmKz8I/t1rZJVonfct9r+0=";
 
   env.CYPRESS_INSTALL_BINARY = "0";
 
-  # https://github.com/parcel-bundler/parcel/issues/8005
-  env.NODE_OPTIONS = "--no-experimental-fetch";
-
   npmBuildScript = "production";
 
   installPhase = ''