python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / ocaml-modules / duff / default.nix
blob27fb981de4d8677e32fe616e45db77ee5f23a147
1 { lib, fetchurl, buildDunePackage, ocaml
2 , fmt
3 , alcotest, hxd, crowbar, bigstringaf
4 }:
6 buildDunePackage rec {
7   pname = "duff";
8   version = "0.5";
10   src = fetchurl {
11     url = "https://github.com/mirage/duff/releases/download/v${version}/duff-${version}.tbz";
12     sha256 = "sha256-0eqpfPWNOHYjkcjXRnZUTUFF0/L9E+TNoOqKCETN5hI=";
13   };
15   propagatedBuildInputs = [ fmt ];
17   doCheck = lib.versionAtLeast ocaml.version "4.08";
18   checkInputs = [
19     alcotest
20     crowbar
21     hxd
22     bigstringaf
23   ];
26   meta = {
27     description = "Pure OCaml implementation of libXdiff (Rabin’s fingerprint)";
28     homepage = "https://github.com/mirage/duff";
29     license = lib.licenses.mit;
30     maintainers = [ lib.maintainers.vbgl ];
31   };