Files
nixpkgs/pkgs/development/python-modules/numpy-stl/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

42 lines
734 B
Nix

{ lib
, buildPythonPackage
, cython
, enum34
, fetchPypi
, nine
, numpy
, pytestCheckHook
, python-utils
}:
buildPythonPackage rec {
pname = "numpy-stl";
version = "3.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-V4t46ssFKayaui8X3MNj1Yx8PFcIcQwY+MHpll8ugaw=";
};
propagatedBuildInputs = [
cython
enum34
nine
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/";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}