Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 654 B view raw
1{ lib, buildPythonPackage, fetchPypi, cython, numpy, nine, pytest, pytestrunner, python-utils, enum34 }: 2 3buildPythonPackage rec { 4 pname = "numpy-stl"; 5 version = "2.11.2"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "1dil1rklb41m3v6a0i93ymimv453whsg1m9z6g0z17jbg7gmc98r"; 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}