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