3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #136775 from fabaff/clean-numpy-stl

python3Packages.numpy-stl: use pytestCheckHook
This commit is contained in:
Fabian Affolter 2021-09-05 20:34:03 +02:00 committed by GitHub
commit 105b9fcb8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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; [ ];
};
}