1{ lib, buildPythonPackage, fetchPypi, cython, numpy, nine, pytest, pytestrunner, python-utils, enum34 }:
2
3buildPythonPackage rec {
4 pname = "numpy-stl";
5 name = "${pname}-${version}";
6 version = "2.3.2";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "0w3f9yhw4mg88drqnn17gaqxbx941p3hg0rn8fsqrf5ry56h93k2";
11 };
12
13 checkInputs = [ pytest pytestrunner ];
14
15 checkPhase = "py.test";
16
17 propagatedBuildInputs = [ cython numpy nine python-utils enum34 ];
18
19 meta = with lib; {
20 description = "Library to make reading, writing and modifying both binary and ascii STL files easy";
21 homepage = "https://github.com/WoLpH/numpy-stl/";
22 license = licenses.bsd3;
23 };
24}