python310Packages.caldav: 0.9.1 -> 0.11.0
This commit is contained in:
parent
0fe5017065
commit
d008be1ff1
1 changed files with 11 additions and 14 deletions
|
@ -1,11 +1,11 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, icalendar
|
||||
, lxml
|
||||
, nose
|
||||
, pytestCheckHook
|
||||
, pytz
|
||||
, recurring-ical-events
|
||||
, requests
|
||||
, six
|
||||
, tzlocal
|
||||
|
@ -14,13 +14,13 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "caldav";
|
||||
version = "0.9.1";
|
||||
version = "0.11.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "python-caldav";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-Gil0v4pGyp5+TnYPjb8Vk0xTqnQKaeD8Ko/ZWhvkbUk=";
|
||||
hash = "sha256-fTl2mxQncsITSC8XpcCBYWYmjDboiueGkNGHbQxn+F8=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -28,30 +28,27 @@ buildPythonPackage rec {
|
|||
lxml
|
||||
requests
|
||||
six
|
||||
icalendar
|
||||
recurring-ical-events
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
icalendar
|
||||
nose
|
||||
pytestCheckHook
|
||||
tzlocal
|
||||
pytz
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
nosetests tests
|
||||
'';
|
||||
|
||||
# xandikos and radicale is only a optional test dependency, not available for python3
|
||||
# xandikos and radicale are only optional test dependencies, not available for python3
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace ", 'xandikos<0.2.4'" "" \
|
||||
--replace ", 'radicale'" ""
|
||||
--replace xandikos "" \
|
||||
--replace radicale ""
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "caldav" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "This project is a CalDAV (RFC4791) client library for Python.";
|
||||
description = "CalDAV (RFC4791) client library";
|
||||
homepage = "https://github.com/python-caldav/caldav";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ marenz dotlambda ];
|
||||
|
|
Loading…
Reference in a new issue