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