python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / ocaml-modules / dispatch / default.nix
blob587f5a792dc7bbae14ae52af6359bbc233d8b80b
1 { lib, buildDunePackage, fetchFromGitHub, ocaml, alcotest, result }:
3 buildDunePackage rec {
4   pname = "dispatch";
5   version = "0.5.0";
7   useDune2 = true;
9   src = fetchFromGitHub {
10     owner = "inhabitedtype";
11     repo = "ocaml-dispatch";
12     rev = version;
13     sha256 = "12r39ylbxc297cbwjadhd1ghxnwwcdzfjk68r97wim8hcgzxyxv4";
14   };
16   propagatedBuildInputs = [ result ];
18   checkInputs = [ alcotest ];
20   doCheck = lib.versionAtLeast ocaml.version "4.08";
22   meta = {
23     inherit (src.meta) homepage;
24     license = lib.licenses.bsd3;
25     description = "Path-based dispatching for client- and server-side applications";
26     maintainers = [ lib.maintainers.vbgl ];
27   };