ocamlPackages.dates_calc: init at 0.0.4

This commit is contained in:
Niols 2023-04-17 16:36:55 +01:00
parent f00994e78c
commit de9b7f2e5d
No known key found for this signature in database
GPG key ID: 0B4EB01A5527EA54
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ lib, fetchFromGitHub, buildDunePackage
, alcotest, qcheck
}:
buildDunePackage rec {
pname = "dates_calc";
version = "0.0.4";
minimalOCamlVersion = "4.11";
duneVersion = "3";
src = fetchFromGitHub {
owner = "catalalang";
repo = "dates-calc";
rev = version;
sha256 = "sha256-tpKOoPVXkg/k+NW5R8A4fGAKhdMn9UcqMogCjafJuw4=";
};
propagatedBuildInputs = [];
doCheck = true;
checkInputs = [
alcotest
qcheck
];
meta = {
description = "A date calculation library";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.niols ];
homepage = "https://github.com/catalalang/dates-calc";
};
}

View file

@ -289,6 +289,8 @@ let
data-encoding = callPackage ../development/ocaml-modules/data-encoding { };
dates_calc = callPackage ../development/ocaml-modules/dates_calc { };
dbf = callPackage ../development/ocaml-modules/dbf { };
decompress = callPackage ../development/ocaml-modules/decompress { };