nixpkgs/pkgs/development/libraries/libical/default.nix

29 lines
693 B
Nix
Raw Normal View History

2015-03-27 00:29:57 +00:00
{ stdenv, fetchFromGitHub, perl, cmake }:
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";
};
2015-03-27 00:29:57 +00:00
nativeBuildInputs = [ perl cmake ];
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;
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 ];
};
}