Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e391c83f0fe3
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d1cc4c139b64
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Apr 22, 2020

  1. pythonPackages.caldav: unbreak build

    elohmeier authored and Jon committed Apr 22, 2020
    Copy the full SHA
    d1cc4c1 View commit details
Showing with 15 additions and 3 deletions.
  1. +15 −3 pkgs/development/python-modules/caldav/default.nix
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";
@@ -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
};
}