blob: 7c49aabe68d3dbf83d770755cc43ead69e64a093 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{
lib,
buildPythonPackage,
cython,
fetchPypi,
numpy,
pytestCheckHook,
python-utils,
setuptools,
}:
buildPythonPackage rec {
pname = "numpy-stl";
version = "3.2.0";
pyproject = true;
src = fetchPypi {
pname = "numpy_stl";
inherit version;
hash = "sha256-WiDD95zdqgq8akuZ9Uhqzu1PiBUvKbGaV6zIROGD/U0=";
};
build-system = [ setuptools ];
nativeBuildInputs = [ cython ];
dependencies = [
numpy
python-utils
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "stl" ];
meta = {
description = "Library to make reading, writing and modifying both binary and ascii STL files easy";
homepage = "https://github.com/WoLpH/numpy-stl/";
changelog = "https://github.com/wolph/numpy-stl/releases/tag/v${version}";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}
|