1{ lib, buildPythonPackage, fetchPypi, cython, numpy, nine, pytest, pytestrunner, python-utils, enum34 }: 2 3buildPythonPackage rec { 4 pname = "numpy-stl"; 5 version = "2.7.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "ede911118cfee5a8fd4c341b418fc55bfcd70a557686febc4efb6693297e3aa2"; 10 }; 11 12 checkInputs = [ pytest pytestrunner ]; 13 14 checkPhase = "py.test"; 15 16 propagatedBuildInputs = [ cython numpy nine python-utils enum34 ]; 17 18 meta = with lib; { 19 description = "Library to make reading, writing and modifying both binary and ascii STL files easy"; 20 homepage = "https://github.com/WoLpH/numpy-stl/"; 21 license = licenses.bsd3; 22 }; 23}