mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
python3Packages.pyosmium: fix build
This commit is contained in:
parent
7341cda598
commit
93e9acacc7
|
@ -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
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue