2022-11-23 05:28:16 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub, re }:
|
2014-05-15 12:11:46 +00:00
|
|
|
|
2022-11-23 05:28:16 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "calendar";
|
|
|
|
version = "3.0.0";
|
|
|
|
minimalOCamlVersion = "4.03";
|
2021-11-09 19:42:54 +00:00
|
|
|
|
2022-11-23 05:28:16 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ocaml-community";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-+VQzi6pEMqzV1ZR84Yjdu4jsJEWtx+7bd6PQGX7TiEs=";
|
2021-11-09 19:53:19 +00:00
|
|
|
};
|
2014-05-15 12:11:46 +00:00
|
|
|
|
2022-11-23 05:28:16 +00:00
|
|
|
propagatedBuildInputs = [ re ];
|
2022-02-22 09:59:04 +00:00
|
|
|
|
2021-11-09 19:53:19 +00:00
|
|
|
meta = {
|
2022-11-23 05:28:16 +00:00
|
|
|
inherit (src.meta) homepage;
|
|
|
|
description = "A library for handling dates and times";
|
|
|
|
license = lib.licenses.lgpl21Plus;
|
|
|
|
maintainers = [ lib.maintainers.gal_bolle ];
|
2014-05-15 12:11:46 +00:00
|
|
|
};
|
|
|
|
}
|