summary refs log tree commit diff
path: root/pkgs/development/libraries/libical/default.nix
blob: fd9c8dc9a5e3277a1ac160cf50447f3484d3ebeb (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
{ stdenv, fetchFromGitHub, perl, cmake }:

stdenv.mkDerivation rec {
  name = "libical-${version}";
  version = "2.0.0";

  src = fetchFromGitHub {
    owner = "libical";
    repo = "libical";
    rev = "v${version}";
    sha256 = "0xsvqy1hzmwxn783wrb2k8p751544pzv39v9ynr9pj4yzkwjzsvb";
  };

  nativeBuildInputs = [ perl cmake ];

  patches = [
    # TODO: upstream this patch
    ./respect-env-tzdir.patch
  ];

  doCheck = false; # fails all the tests (ctest)

  meta = with stdenv.lib; {
    homepage = https://github.com/libical/libical;
    description = "An Open Source implementation of the iCalendar protocols";
    license = licenses.mpl10;
    platforms = platforms.unix;
    maintainers = with maintainers; [ wkennington ];
  };
}