Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
910 B · 46 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ lib, buildPythonPackage, cython, fetchPypi, numpy, pytestCheckHook, python-utils, pythonOlder, setuptools,}:
buildPythonPackage rec { pname = "numpy-stl"; version = "3.2.0"; pyproject = true;
disabled = pythonOlder "3.9";
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 = with lib; { 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 = licenses.bsd3; maintainers = [ ]; };}