2015-03-27 01:29:57 +01:00
|
|
|
{ stdenv, fetchFromGitHub, perl, cmake }:
|
2009-02-18 21:57:36 +01:00
|
|
|
|
2011-11-07 17:48:40 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2015-03-27 01:29:57 +01:00
|
|
|
name = "libical-${version}";
|
2017-09-18 03:25:11 +02:00
|
|
|
version = "2.0.0";
|
2015-03-27 01:29:57 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "libical";
|
|
|
|
repo = "libical";
|
|
|
|
rev = "v${version}";
|
2017-09-18 03:25:11 +02:00
|
|
|
sha256 = "0xsvqy1hzmwxn783wrb2k8p751544pzv39v9ynr9pj4yzkwjzsvb";
|
2009-02-18 21:57:36 +01:00
|
|
|
};
|
2015-03-27 01:29:57 +01:00
|
|
|
|
2012-12-28 19:20:09 +01:00
|
|
|
nativeBuildInputs = [ perl cmake ];
|
2012-08-08 11:10:36 +02:00
|
|
|
|
2017-09-18 03:25:11 +02:00
|
|
|
patches = [
|
|
|
|
# TODO: upstream this patch
|
|
|
|
./respect-env-tzdir.patch
|
|
|
|
];
|
2015-03-27 01:29:57 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/libical/libical;
|
2016-06-20 12:53:46 +02:00
|
|
|
description = "An Open Source implementation of the iCalendar protocols";
|
2015-03-27 01:29:57 +01:00
|
|
|
license = licenses.mpl10;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ wkennington ];
|
|
|
|
};
|
2009-02-18 21:57:36 +01:00
|
|
|
}
|