python3Packages.pyosmium: switch to pytestCheckHook
This commit is contained in:
parent
fe35f960d2
commit
44a05c2d4b
1 changed files with 6 additions and 4 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue