depot/third_party/nixpkgs/pkgs/development/ocaml-modules/dates_calc/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

33 lines
656 B
Nix

{ 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 = "Date calculation library";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.niols ];
homepage = "https://github.com/catalalang/dates-calc";
};
}