11 pname = "opcua-commander";
14 src = fetchFromGitHub {
16 repo = "opcua-commander";
18 hash = "sha256-7KYwIdrhlvGR9RHZBfMFOcBa+opwx7Q/crCdvwZD6Y8=";
21 npmDepsHash = "sha256-g4WFLh+UnziQR2NZ4eL84Vrk+Mz99kFQiBkdGmBEMHE=";
29 substituteInPlace package.json \
30 --replace-warn "npx -y esbuild" "esbuild"
33 # We need to add `nodejs` to PATH for `opcua-commander` to properly work
34 # when connected to an OPC-UA server.
36 # ./opcua-commander -e opc.tcp://opcuademo.sterfive.com:26543
38 wrapProgram $out/bin/opcua-commander \
39 --prefix PATH : "${lib.makeBinPath [ nodejs ]}"
43 description = "Opcua client with blessed (ncurses)";
44 homepage = "https://github.com/node-opcua/opcua-commander";
45 license = licenses.mit;
46 maintainers = with maintainers; [ jonboh ];
47 mainProgram = "opcua-commander";