1{ stdenv, fetchFromGitHub, perl, cmake }:
2
3stdenv.mkDerivation rec {
4 name = "libical-${version}";
5 version = "2.0.0";
6
7 src = fetchFromGitHub {
8 owner = "libical";
9 repo = "libical";
10 rev = "v${version}";
11 sha256 = "0xsvqy1hzmwxn783wrb2k8p751544pzv39v9ynr9pj4yzkwjzsvb";
12 };
13
14 nativeBuildInputs = [ perl cmake ];
15
16 patches = [
17 # TODO: upstream this patch
18 ./respect-env-tzdir.patch
19 ];
20
21 meta = with stdenv.lib; {
22 homepage = https://github.com/libical/libical;
23 description = "An Open Source implementation of the iCalendar protocols";
24 license = licenses.mpl10;
25 platforms = platforms.unix;
26 maintainers = with maintainers; [ wkennington ];
27 };
28}