mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
pythonPackages.caldav: unbreak build
This commit is contained in:
parent
e391c83f0f
commit
d1cc4c139b
@ -1,5 +1,12 @@
|
||||
{ lib, buildPythonPackage, fetchPypi
|
||||
, tzlocal, requests, vobject, lxml, nose }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, tzlocal
|
||||
, requests
|
||||
, vobject
|
||||
, lxml
|
||||
, nose
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "caldav";
|
||||
@ -12,11 +19,16 @@ buildPythonPackage rec {
|
||||
sha256 = "80c33b143539da3a471148ac89512f67d9df3a5286fae5a023e2ad3923246c0d";
|
||||
};
|
||||
|
||||
# xandikos is only a optional test dependency, not available for python3
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace ", 'xandikos'" ""
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "This project is a CalDAV (RFC4791) client library for Python.";
|
||||
homepage = "https://pythonhosted.org/caldav/";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ marenz ];
|
||||
broken = true; # missing xandikos package
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user