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