ocamlPackages.calendar: 2.5 → 3.0

This commit is contained in:
Vincent Laporte 2022-11-23 06:28:16 +01:00 committed by Vincent Laporte
parent b29e9c4025
commit 1853c7df0f

View file

@ -1,27 +1,25 @@
{ stdenv, lib, fetchurl, ocaml, findlib }: { lib, buildDunePackage, fetchFromGitHub, re }:
stdenv.mkDerivation rec { buildDunePackage rec {
pname = "ocaml-calendar"; pname = "calendar";
version = "2.5"; version = "3.0.0";
minimalOCamlVersion = "4.03";
src = fetchurl { src = fetchFromGitHub {
url = "https://forge.ocamlcore.org/frs/download.php/915/calendar-${version}.tar.bz2"; owner = "ocaml-community";
sha256 = "04pvhwb664g3s644c7v7419a3kvf5s3pynkhmk5j59dvlfm1yf0f"; repo = pname;
rev = "v${version}";
sha256 = "sha256-+VQzi6pEMqzV1ZR84Yjdu4jsJEWtx+7bd6PQGX7TiEs=";
}; };
nativeBuildInputs = [ ocaml findlib ]; propagatedBuildInputs = [ re ];
strictDeps = true; strictDeps = true;
createFindlibDestdir = true;
meta = { meta = {
homepage = "https://forge.ocamlcore.org/projects/calendar/"; inherit (src.meta) homepage;
description = "An Objective Caml library managing dates and times"; description = "A library for handling dates and times";
license = "LGPL"; license = lib.licenses.lgpl21Plus;
platforms = ocaml.meta.platforms or [ ]; maintainers = [ lib.maintainers.gal_bolle ];
maintainers = [
lib.maintainers.gal_bolle
];
}; };
} }