1 { lib, buildPythonPackage, fetchFromGitHub, cmake, python
2 , libosmium, protozero, boost, expat, bzip2, zlib, pybind11
3 , shapely, pythonOlder, isPyPy, lz4, requests, pytestCheckHook
6 buildPythonPackage rec {
10 disabled = pythonOlder "3.4" || isPyPy;
12 src = fetchFromGitHub {
15 rev = "refs/tags/v${version}";
16 sha256 = "sha256-PMQnQe699ZWRR2gevrSCTokyc9xr1TL9Ohuqn7NL8c8=";
19 nativeBuildInputs = [ cmake ];
20 buildInputs = [ libosmium protozero boost expat bzip2 zlib pybind11 lz4 ];
21 propagatedBuildInputs = [ requests ];
31 description = "Python bindings for libosmium";
32 homepage = "https://osmcode.org/pyosmium";
33 changelog = "https://github.com/osmcode/pyosmium/blob/v${version}/CHANGELOG.md";
34 license = licenses.bsd2;
35 maintainers = with maintainers; [ sikmir ];