2021-07-24 12:14:16 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, cython, numpy, nine, pytest, pytest-runner, python-utils, enum34 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "numpy-stl";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "2.16.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-28 23:13:55 +00:00
|
|
|
sha256 = "411c633d2a03c295d98fb26023a6e7f574ceead04015d06e80cdab20b630a742";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-07-24 12:14:16 +00:00
|
|
|
checkInputs = [ pytest pytest-runner ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|