2022-12-02 08:20:57 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub, re }:
|
2021-12-06 16:07:01 +00:00
|
|
|
|
2022-12-02 08:20:57 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "calendar";
|
|
|
|
version = "3.0.0";
|
|
|
|
minimalOCamlVersion = "4.03";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-12-02 08:20:57 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ocaml-community";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-+VQzi6pEMqzV1ZR84Yjdu4jsJEWtx+7bd6PQGX7TiEs=";
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-12-02 08:20:57 +00:00
|
|
|
propagatedBuildInputs = [ re ];
|
2022-03-05 16:20:37 +00:00
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
meta = {
|
2022-12-02 08:20:57 +00:00
|
|
|
inherit (src.meta) homepage;
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Library for handling dates and times";
|
2022-12-02 08:20:57 +00:00
|
|
|
license = lib.licenses.lgpl21Plus;
|
|
|
|
maintainers = [ lib.maintainers.gal_bolle ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|