2021-11-09 19:53:19 +00:00
|
|
|
{ stdenv, lib, fetchurl, ocaml, findlib }:
|
2014-05-15 13:11:46 +01:00
|
|
|
|
2021-11-09 19:42:54 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ocaml-calendar";
|
|
|
|
version = "2.5";
|
|
|
|
|
2014-05-15 13:11:46 +01:00
|
|
|
src = fetchurl {
|
2021-11-09 19:42:54 +00:00
|
|
|
url = "https://forge.ocamlcore.org/frs/download.php/915/calendar-${version}.tar.bz2";
|
2014-05-15 13:11:46 +01:00
|
|
|
sha256 = "04pvhwb664g3s644c7v7419a3kvf5s3pynkhmk5j59dvlfm1yf0f";
|
2021-11-09 19:53:19 +00:00
|
|
|
};
|
2014-05-15 13:11:46 +01:00
|
|
|
|
2022-02-22 09:59:04 +00:00
|
|
|
nativeBuildInputs = [ ocaml findlib ];
|
|
|
|
|
|
|
|
strictDeps = true;
|
2014-05-15 13:11:46 +01:00
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
2021-11-09 19:53:19 +00:00
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://forge.ocamlcore.org/projects/calendar/";
|
2014-09-06 09:44:20 +01:00
|
|
|
description = "An Objective Caml library managing dates and times";
|
2014-05-15 13:11:46 +01:00
|
|
|
license = "LGPL";
|
2021-11-09 19:53:19 +00:00
|
|
|
platforms = ocaml.meta.platforms or [ ];
|
2014-05-15 13:11:46 +01:00
|
|
|
maintainers = [
|
2021-01-11 12:49:15 +00:00
|
|
|
lib.maintainers.gal_bolle
|
2014-05-15 13:11:46 +01:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|