2017-10-21 01:12:30 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, cython, numpy, nine, pytest, pytestrunner, python-utils, enum34 }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "numpy-stl";
|
2020-11-05 09:10:47 +00:00
|
|
|
version = "2.12.0";
|
2017-10-21 01:12:30 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-05 09:10:47 +00:00
|
|
|
sha256 = "10912d7749ab02b0ee2ee61fc04c38fa211fc9d00a9b73a7d1c2465c53c1abf5";
|
2017-10-21 01:12:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest pytestrunner ];
|
|
|
|
|
|
|
|
checkPhase = "py.test";
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ cython numpy nine python-utils enum34 ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Library to make reading, writing and modifying both binary and ascii STL files easy";
|
|
|
|
homepage = "https://github.com/WoLpH/numpy-stl/";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|