python3Packages.pyosmium: fix build

This commit is contained in:
Nikolay Korotkiy 2023-09-20 23:00:40 +04:00
parent 7341cda598
commit 93e9acacc7
No known key found for this signature in database
GPG key ID: D1DE6D7F693663A5

View file

@ -1,8 +1,8 @@
{ 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
];