Unverified Commit 93e9acac authored by Nikolay Korotkiy's avatar Nikolay Korotkiy
Browse files

python3Packages.pyosmium: fix build

parent 7341cda5
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, cmake
, python
, libosmium
, protozero
, boost
@@ -32,6 +32,14 @@ buildPythonPackage rec {
    hash = "sha256-+YJQGPQm2FGOPhNzlXX2GM+ad4QdipJhwViOKGHtqBk=";
  };

  patches = [
    # Compatibility with recent pybind versions
    (fetchpatch {
      url = "https://github.com/osmcode/pyosmium/commit/31b1363389b423f49e14140ce868ecac83e92f69.patch";
      hash = "sha256-maBuwzyZ4/wVLLGVr4gZFZDKvJckUXiBluxZRPGETag=";
    })
  ];

  nativeBuildInputs = [
    cmake
  ];