1{ lib
2, buildPythonPackage
3, cython
4, enum34
5, fetchPypi
6, nine
7, numpy
8, pytestCheckHook
9, python-utils
10}:
11
12buildPythonPackage rec {
13 pname = "numpy-stl";
14 version = "3.0.1";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-3U2ho3nSYy8WhRi+jc2c3dftxsMjgJT9jSFHazWGoLw=";
19 };
20
21 propagatedBuildInputs = [
22 cython
23 enum34
24 nine
25 numpy
26 python-utils
27 ];
28
29 nativeCheckInputs = [
30 pytestCheckHook
31 ];
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 = with maintainers; [ ];
40 };
41}