python3Packages.pyosmium: switch to pytestCheckHook

This commit is contained in:
Robert Scott 2022-07-21 19:30:05 +01:00 committed by Martin Weinelt
parent fe35f960d2
commit 44a05c2d4b

View file

@ -1,6 +1,7 @@
{ lib, buildPythonPackage, fetchFromGitHub, cmake, python
, libosmium, protozero, boost, expat, bzip2, zlib, pybind11
, nose, shapely, pythonOlder, isPyPy, lz4, requests }:
, shapely, pythonOlder, isPyPy, lz4, requests, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pyosmium";
@ -21,9 +22,10 @@ buildPythonPackage rec {
preBuild = "cd ..";
checkInputs = [ nose shapely ];
checkPhase = "(cd test && ${python.interpreter} run_tests.py)";
checkInputs = [
pytestCheckHook
shapely
];
meta = with lib; {
description = "Python bindings for libosmium";