Merge pull request #274603 from dali99/clean-caldav
python3Packages.caldav: remove outdated substitutes, test with xandikos
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
, setuptools
|
||||
, tzlocal
|
||||
, vobject
|
||||
, xandikos
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -43,15 +44,9 @@ buildPythonPackage rec {
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
xandikos
|
||||
];
|
||||
|
||||
# xandikos and radicale are only optional test dependencies, not available for python3
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace xandikos "" \
|
||||
--replace radicale ""
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "caldav" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
Reference in New Issue
Block a user