python3.pkgs.pyosmium: 2.15.3 -> 3.0.1
This commit is contained in:
parent
f08a5cc832
commit
11f9033305
@ -1,16 +1,18 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, cmake, python
|
||||
, libosmium, protozero, boost, expat, bzip2, zlib, pybind11
|
||||
, nose, shapely, mock, isPy3k }:
|
||||
, nose, shapely, pythonOlder, isPyPy }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyosmium";
|
||||
version = "2.15.3";
|
||||
version = "3.0.1";
|
||||
|
||||
disabled = pythonOlder "3.4" || isPyPy;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "osmcode";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1523ym9i4rnwi5kcp7n2lm67kxlhar8xlv91s394ixzwax9bgg7w";
|
||||
sha256 = "06jngbmmmswhyi5q5bjph6gwss28d2azn5414zf0arik5bcvz128";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
@ -18,7 +20,7 @@ buildPythonPackage rec {
|
||||
|
||||
preBuild = "cd ..";
|
||||
|
||||
checkInputs = [ nose shapely ] ++ lib.optionals (!isPy3k) [ mock ];
|
||||
checkInputs = [ nose shapely ];
|
||||
|
||||
checkPhase = "(cd test && ${python.interpreter} run_tests.py)";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user