@@ -1,4 +1,13 @@
1−{ lib, buildPythonPackage, fetchPypi, cython, numpy, nine, pytest, pytest-runner, python-utils, enum34 }:
1+{ lib
2+, buildPythonPackage
3+, cython
4+, enum34
5+, fetchPypi
6+, nine
7+, numpy
8+, pytestCheckHook
9+, python-utils
10+}:
211
312buildPythonPackage rec {
413 pname = "numpy-stl";
@@ -9,15 +18,24 @@ buildPythonPackage rec {
918 sha256 = "3e635b6fb6112a3c5e00e9e20eedab93b9b0c45ff1cc34eb7bdc0b3e922e2d77";
1019 };
1120
12− checkInputs = [ pytest pytest-runner ];
21+ propagatedBuildInputs = [
22+ cython
23+ enum34
24+ nine
25+ numpy
26+ python-utils
27+ ];
1328
14− checkPhase = "py.test";
29+ checkInputs = [
30+ pytestCheckHook
31+ ];
1532
16− propagatedBuildInputs = [ cython numpy nine python-utils enum34 ];
33+ pythonImportsCheck = [ "stl" ];
1734
1835 meta = with lib; {
1936 description = "Library to make reading, writing and modifying both binary and ascii STL files easy";
2037 homepage = "https://github.com/WoLpH/numpy-stl/";
2138 license = licenses.bsd3;
39+ maintainers = with maintainers; [ ];
2240 };
2341}