1{ lib 2, buildPythonPackage 3, fetchPypi 4, ipython 5, u-msgpack-python 6, numpy 7, tornado 8, pyzmq 9, pyngrok 10, pillow 11}: 12 13buildPythonPackage rec { 14 pname = "meshcat"; 15 version = "0.3.2"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-LP4XzeT+hdByo94Bip2r9WJvgMJV//LOY7JqSNJIStk="; 20 }; 21 22 postPatch = '' 23 sed -i '/PYTHONPATH/d' src/meshcat/servers/zmqserver.py 24 ''; 25 26 propagatedBuildInputs = [ 27 ipython 28 u-msgpack-python 29 numpy 30 tornado 31 pyzmq 32 pyngrok 33 pillow 34 ]; 35 36 pythonImportsCheck = [ "meshcat" ]; 37 38 # requires a running MeshCat viewer 39 doCheck = false; 40 41 meta = with lib; { 42 homepage = "https://github.com/rdeits/meshcat-python"; 43 description = "WebGL-based 3D visualizer for Python"; 44 license = licenses.mit; 45 maintainers = with maintainers; [ wegank ]; 46 }; 47}