python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / ocaml-modules / duration / default.nix
blob1a1f9b07769feded5872b5797826395e8fc8c775
1 { lib, buildDunePackage, ocaml, fetchurl, alcotest }:
3 buildDunePackage rec {
4   pname = "duration";
5   version = "0.2.0";
7   useDune2 = true;
9   src = fetchurl {
10     url = "https://github.com/hannesm/duration/releases/download/${version}/duration-${version}.tbz";
11     sha256 = "sha256-rRT7daWm9z//fvFyEXiSXuVVzw8jsj46sykYS8DBzmk=";
12   };
14   doCheck = lib.versionAtLeast ocaml.version "4.08";
15   checkInputs = [ alcotest ];
17   meta = {
18     homepage = "https://github.com/hannesm/duration";
19     description = "Conversions to various time units";
20     license = lib.licenses.isc;
21     maintainers = [ lib.maintainers.vbgl ];
22   };