{ lib , buildNpmPackage , fetchFromGitHub , python3 }: buildNpmPackage rec { pname = "zcl-advanced-platform"; version = "2023.12.07"; src = fetchFromGitHub { owner = "project-chip"; repo = "zap"; rev = "v${version}"; hash = "sha256-vQ4tlpfh2CUl58l3fhduEK9Gdajf+P28+j/gZPGMcps="; }; nativeBuildInputs = [ python3 ]; npmDepsHash = "sha256-L7y49Jr9JukHbuzhe3JqpAlKqQYHXKax2uM+RnNiF2o="; postInstall = '' ln -s zap $out/bin/zap-cli echo '{"hash": "5f1f3a62b27db9f5293f2bfef3ab01e603751a37", "date": "2023-12-07", "zapVersion": "2023.12.07"}' > $out/lib/node_modules/zap/.version.json ''; env.ZAP_SKIP_REAL_VERSION = true; env.ELECTRON_SKIP_BINARY_DOWNLOAD = true; env.CYPRESS_INSTALL_BINARY = 0; }