Merge pull request #123455 from jnetod/zhf-vdirsyncer

pythonPackages.vdirsyncer: fix build with python 3.9
This commit is contained in:
Robert Scott 2021-05-19 22:11:20 +01:00 committed by GitHub
commit 3d6cd4343c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, fetchpatch
, isPy27 , isPy27
, click , click
, click-log , click-log
@ -45,6 +46,14 @@ buildPythonPackage rec {
pytest-subtesthack pytest-subtesthack
]; ];
patches = [
(fetchpatch {
name = "update-usage-deprecated-method.patch";
url = "https://github.com/pimutils/vdirsyncer/commit/7577fa21177442aacc2d86640ef28cebf1c4aaef.patch";
sha256 = "0inkr1wfal20kssij8l5myhpjivxg8wlvhppqc3lvml9d1i75qbh";
})
];
postPatch = '' postPatch = ''
substituteInPlace setup.py --replace "click>=5.0,<6.0" "click" substituteInPlace setup.py --replace "click>=5.0,<6.0" "click"
''; '';