python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / ocaml-modules / data-encoding / default.nix
blob7bd01ff83157297bc8ed9480aa9b0f117a9af902
1 { lib
2 , fetchFromGitLab
3 , buildDunePackage
4 , ppx_hash
5 , either
6 , ezjsonm
7 , zarith
8 , zarith_stubs_js
9 , hex
10 , json-data-encoding
11 , json-data-encoding-bson
12 , alcotest
13 , crowbar
14 , ppx_expect
17 buildDunePackage {
18   pname = "data-encoding";
19   version = "0.5.3";
21   src = fetchFromGitLab {
22     owner = "nomadic-labs";
23     repo = "data-encoding";
24     rev = "v0.5.3";
25     sha256 = "sha256-HMNpjh5x7vU/kXQNRjJtOvShEENoNuxjNNPBJfm+Rhg=";
26   };
28   propagatedBuildInputs = [
29     either
30     ezjsonm
31     ppx_hash
32     zarith
33     zarith_stubs_js
34     hex
35     json-data-encoding
36     json-data-encoding-bson
37   ];
39   checkInputs = [
40     alcotest
41     crowbar
42     ppx_expect
43   ];
45   doCheck = true;
47   meta = {
48     homepage = "https://gitlab.com/nomadic-labs/data-encoding";
49     description = "Library of JSON and binary encoding combinators";
50     license = lib.licenses.mit;
51     maintainers = [ lib.maintainers.ulrikstrid ];
52   };