python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / ocaml-modules / otr / default.nix
blobd2ed78d51b8a2a11ecb8625c69ece2ebc649c9be
1 { lib, fetchurl, buildDunePackage
2 , cstruct, sexplib0, mirage-crypto, mirage-crypto-pk, astring, base64
3 }:
5 buildDunePackage rec {
6   pname = "otr";
7   version = "0.3.10";
9   minimumOCamlVersion = "4.08";
11   src = fetchurl {
12     url = "https://github.com/hannesm/ocaml-otr/releases/download/v${version}/otr-v${version}.tbz";
13     sha256 = "0dssc7p6s7z53n0mddyipjghzr8ld8bb7alaxqrx9gdpspwab1gq";
14   };
16   useDune2 = true;
18   propagatedBuildInputs = [ cstruct sexplib0 mirage-crypto mirage-crypto-pk
19                             astring base64 ];
21   doCheck = true;
23   meta = with lib; {
24     homepage = "https://github.com/hannesm/ocaml-otr";
25     description = "Off-the-record messaging protocol, purely in OCaml";
26     license = licenses.bsd2;
27     maintainers = with maintainers; [ sternenseemann ];
28   };