2017-10-21 02:12:30 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, cython, numpy, nine, pytest, pytestrunner, python-utils, enum34 }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "numpy-stl";
|
2019-03-11 18:06:42 +00:00
|
|
|
version = "2.10.0";
|
2017-10-21 02:12:30 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-03-11 18:06:42 +00:00
|
|
|
sha256 = "1r864sc7anw43s8bg5yd17bxcw1a4lj5h7mz7cbwnzpb9xmqpccj";
|
2017-10-21 02:12:30 +01: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;
|
|
|
|
};
|
|
|
|
}
|