python3Packages.folium: fix build

This commit is contained in:
Nikolay Korotkiy 2022-08-08 17:06:33 +03:00
parent 45537c3d49
commit d65fdad9d1
No known key found for this signature in database
GPG Key ID: D1DE6D7F693663A5

View File

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, pythonOlder
, pytestCheckHook
, branca
@ -27,6 +28,14 @@ buildPythonPackage rec {
sha256 = "sha256-4UseN/3ojZdDUopwZLpHZEBon1qDDvCWfdzxodi/BeA=";
};
patches = [
# Fix test failures with latest branca
(fetchpatch {
url = "https://github.com/python-visualization/folium/commit/b410ab21cc46ec6756c2f755e5e81dcdca029c53.patch";
hash = "sha256-SVN4wKEep+VnAKnkJTf59rhnzHnbk6dV9XL5ntv4bog=";
})
];
SETUPTOOLS_SCM_PRETEND_VERSION = "v${version}";
nativeBuildInputs = [