1{
2 lib,
3 buildPythonPackage,
4 cython,
5 enum34,
6 fetchPypi,
7 nine,
8 numpy,
9 pytestCheckHook,
10 python-utils,
11}:
12
13buildPythonPackage rec {
14 pname = "numpy-stl";
15 version = "3.1.1";
16 format = "setuptools";
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-947qYsgJOL9T6pFPpbbJL0SPDqtWCeDlpzfd4DlAQzQ=";
21 };
22
23 propagatedBuildInputs = [
24 cython
25 enum34
26 nine
27 numpy
28 python-utils
29 ];
30
31 nativeCheckInputs = [ pytestCheckHook ];
32
33 pythonImportsCheck = [ "stl" ];
34
35 meta = with lib; {
36 description = "Library to make reading, writing and modifying both binary and ascii STL files easy";
37 homepage = "https://github.com/WoLpH/numpy-stl/";
38 license = licenses.bsd3;
39 maintainers = [ ];
40 };
41}