blob: 7a7a175362ac265388406f31ff89f2c2a42bf018 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{ lib
, buildPythonPackage
, fetchPypi
, tzlocal
, requests
, vobject
, lxml
, nose
}:
buildPythonPackage rec {
pname = "caldav";
version = "0.6.2";
propagatedBuildInputs = [ tzlocal requests vobject lxml nose ];
src = fetchPypi {
inherit pname version;
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 ];
};
}
|