python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / ocaml-modules / wayland / default.nix
blobf7ade2ec807031b798175dc4426317b411521b9d
1 { lib
2 , buildDunePackage
3 , fetchurl
4 , xmlm
5 , lwt
6 , logs
7 , fmt
8 , cstruct
9 , cmdliner
10 , alcotest-lwt
13 buildDunePackage rec {
14   pname = "wayland";
15   version = "1.1";
17   minimalOCamlVersion = "4.08";
19   src = fetchurl {
20     url = "https://github.com/talex5/ocaml-wayland/releases/download/v${version}/wayland-${version}.tbz";
21     sha256 = "0b7czgh08i6xcx3fsz6vd19sfyngwi0i27jdzg8cnjgrgwnagv6d";
22   };
24   propagatedBuildInputs = [
25     lwt
26     logs
27     fmt
28     cstruct
29   ];
31   buildInputs = [
32     cmdliner
33     xmlm
34   ];
36   checkInputs = [
37     alcotest-lwt
38   ];
39   doCheck = true;
41   meta = {
42     description = "Pure OCaml Wayland protocol library";
43     homepage = "https://github.com/talex5/ocaml-wayland";
44     license = lib.licenses.asl20;
45     maintainers = [ lib.maintainers.sternenseemann ];
46     mainProgram = "wayland-scanner-ocaml";
47   };