Skip to content

Commit

Permalink
pythonPackages.caldav: unbreak build
Browse files Browse the repository at this point in the history
  • Loading branch information
elohmeier authored and Jon committed Apr 22, 2020
1 parent e391c83 commit d1cc4c1
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions pkgs/development/python-modules/caldav/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
{ lib, buildPythonPackage, fetchPypi
, tzlocal, requests, vobject, lxml, nose }:
{ lib
, buildPythonPackage
, fetchPypi
, tzlocal
, requests
, vobject
, lxml
, nose
}:

buildPythonPackage rec {
pname = "caldav";
Expand All @@ -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
};
}

0 comments on commit d1cc4c1

Please sign in to comment.