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 = "2.16.3";
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "95890627001efb2cb8d17418730cdc1bdd64b8dbb9862b01a8e0359d79fe863e";
19 };
20
21 propagatedBuildInputs = [
22 cython
23 enum34
24 nine
25 numpy
26 python-utils
27 ];
28
29 checkInputs = [
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}