mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-12 23:48:25 +03:00
Merge pull request #274603 from dali99/clean-caldav
python3Packages.caldav: remove outdated substitutes, test with xandikos
This commit is contained in:
commit
f2286d2b45
@ -11,6 +11,7 @@
|
|||||||
, setuptools
|
, setuptools
|
||||||
, tzlocal
|
, tzlocal
|
||||||
, vobject
|
, vobject
|
||||||
|
, xandikos
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -43,15 +44,9 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
|
xandikos
|
||||||
];
|
];
|
||||||
|
|
||||||
# xandikos and radicale are only optional test dependencies, not available for python3
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace setup.py \
|
|
||||||
--replace xandikos "" \
|
|
||||||
--replace radicale ""
|
|
||||||
'';
|
|
||||||
|
|
||||||
pythonImportsCheck = [ "caldav" ];
|
pythonImportsCheck = [ "caldav" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user