about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/calendar/default.nix
blob: a56dee3648ba9a648844b9c87c8c87ae2fa36fe4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{stdenv, lib, fetchurl, ocaml, findlib}:

stdenv.mkDerivation rec {
  pname = "ocaml-calendar";
  version = "2.5";

  src = fetchurl {
    url = "https://forge.ocamlcore.org/frs/download.php/915/calendar-${version}.tar.bz2";
    sha256 = "04pvhwb664g3s644c7v7419a3kvf5s3pynkhmk5j59dvlfm1yf0f";
    };

  buildInputs = [ocaml findlib];

  createFindlibDestdir = true;

  meta =  {
    homepage = "https://forge.ocamlcore.org/projects/calendar/";
    description = "An Objective Caml library managing dates and times";
    license = "LGPL";
    platforms = ocaml.meta.platforms or [];
    maintainers = [
      lib.maintainers.gal_bolle
    ];
  };
}