1{ lib, buildPythonPackage, fetchPypi, cython, numpy, nine, pytest, pytestrunner, python-utils, enum34 }:
2
3buildPythonPackage rec {
4 pname = "numpy-stl";
5 version = "2.10.1";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "f6b529b8a8112dfe456d4f7697c7aee0aca62be5a873879306afe4b26fca963c";
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}