forked from mirrors/nixpkgs
Merge pull request #136775 from fabaff/clean-numpy-stl
python3Packages.numpy-stl: use pytestCheckHook
This commit is contained in:
commit
105b9fcb8b
|
@ -1,4 +1,13 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, cython, numpy, nine, pytest, pytest-runner, python-utils, enum34 }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, cython
|
||||
, enum34
|
||||
, fetchPypi
|
||||
, nine
|
||||
, numpy
|
||||
, pytestCheckHook
|
||||
, python-utils
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "numpy-stl";
|
||||
|
@ -9,15 +18,24 @@ buildPythonPackage rec {
|
|||
sha256 = "3e635b6fb6112a3c5e00e9e20eedab93b9b0c45ff1cc34eb7bdc0b3e922e2d77";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest pytest-runner ];
|
||||
propagatedBuildInputs = [
|
||||
cython
|
||||
enum34
|
||||
nine
|
||||
numpy
|
||||
python-utils
|
||||
];
|
||||
|
||||
checkPhase = "py.test";
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ cython numpy nine python-utils enum34 ];
|
||||
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; [ ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue