Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 25 lines 389 B view raw
1{ buildNpmPackage }: 2 3{ 4 version, 5 src, 6 meta, 7}: 8 9buildNpmPackage { 10 pname = "coolercontrol-ui"; 11 inherit version src; 12 sourceRoot = "${src.name}/coolercontrol-ui"; 13 14 npmDepsHash = "sha256-FFVCE3/E+eiTvTeU53cc1Mdbrl5J3+YgYUYltpnGXz0="; 15 16 postBuild = '' 17 cp -r dist $out 18 ''; 19 20 dontInstall = true; 21 22 meta = meta // { 23 description = "${meta.description} (UI data)"; 24 }; 25}