Merge pull request #152295 from dotlambda/radicale-3.1.0

radicale: 3.0.6 -> 3.1.0
This commit is contained in:
Robert Schütz 2021-12-27 18:41:53 +00:00 committed by GitHub
commit 94e6766d6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 14 deletions

View File

@ -4,7 +4,6 @@
, pythonOlder
, icalendar
, lxml
, mock
, nose
, pytz
, requests
@ -15,23 +14,27 @@
buildPythonPackage rec {
pname = "caldav";
version = "0.8.0";
version = "0.8.2";
src = fetchFromGitHub {
owner = "python-caldav";
repo = pname;
rev = "v${version}";
sha256 = "11q3svns3a2ywfci739krxbh67cx691qja772wq22606blyygyjy";
hash = "sha256-2mpE1aLipps4X/3EF0oKHXDcrgUh78/fxY6y1B1V2IU=";
};
nativeBuildInputs = lib.optionals (pythonOlder "3.5") [ mock ];
propagatedBuildInputs = [ six requests vobject lxml ]
++ lib.optionals (pythonOlder "3.6") [ pytz tzlocal ];
propagatedBuildInputs = [
vobject
lxml
requests
six
];
checkInputs = [
icalendar
nose
tzlocal
pytz
];
checkPhase = ''
@ -41,7 +44,7 @@ buildPythonPackage rec {
# xandikos and radicale is only a optional test dependency, not available for python3
postPatch = ''
substituteInPlace setup.py \
--replace ", 'xandikos'" "" \
--replace ", 'xandikos<0.2.4'" "" \
--replace ", 'radicale'" ""
'';
@ -51,7 +54,6 @@ buildPythonPackage rec {
description = "This project is a CalDAV (RFC4791) client library for Python.";
homepage = "https://github.com/python-caldav/caldav";
license = licenses.asl20;
maintainers = with maintainers; [ marenz ];
#broken = true; # requires radicale which is not packaged yet
maintainers = with maintainers; [ marenz dotlambda ];
};
}

View File

@ -2,13 +2,13 @@
python3.pkgs.buildPythonApplication rec {
pname = "radicale";
version = "3.0.6";
version = "3.1.0";
src = fetchFromGitHub {
owner = "Kozea";
repo = "Radicale";
rev = version;
sha256 = "1xlsvrmx6jhi71j6j8z9sli5vwxasivzjyqf8zq8r0l5p7350clf";
rev = "v${version}";
hash = "sha256-LtPv+3FQMGC2YP2+1cSPZVUIzrUhteJTl58+JdvGcQg=";
};
postPatch = ''

View File

@ -5,13 +5,13 @@
python3.pkgs.buildPythonApplication rec {
pname = "calendar-cli";
version = "0.12.0";
version = "0.13.0";
src = fetchFromGitHub {
owner = "tobixen";
repo = "calendar-cli";
rev = "v${version}";
sha256 = "0qjld2m7hl3dx90491pqbjcja82c1f5gwx274kss4lkb8aw0kmlv";
hash = "sha256-wGigrBl5PJL+fVfnFnHDJ5zyB+Rq3Fm+q9vMvLuBBys=";
};
propagatedBuildInputs = with python3.pkgs; [