lol
1{
2 afl-persistent,
3 alcotest,
4 angstrom,
5 base64,
6 bigarray-overlap,
7 bigstringaf,
8 buildDunePackage,
9 cmdliner,
10 emile,
11 fetchurl,
12 fpath,
13 hxd,
14 ipaddr,
15 jsonm,
16 ke,
17 lib,
18 mirage-crypto-rng,
19 pecu,
20 prettym,
21 ptime,
22 rosetta,
23 unstrctrd,
24 uutf,
25}:
26
27buildDunePackage rec {
28 pname = "mrmime";
29 version = "0.7.0";
30
31 src = fetchurl {
32 url = "https://github.com/mirage/mrmime/releases/download/v${version}/mrmime-${version}.tbz";
33 hash = "sha256-w23xtro9WgyLLwqdwfqLMN/ZDqwpvFcEvurbsqnsJLc=";
34 };
35
36 propagatedBuildInputs = [
37 angstrom
38 base64
39 emile
40 ipaddr
41 ke
42 pecu
43 prettym
44 ptime
45 rosetta
46 unstrctrd
47 uutf
48 bigarray-overlap
49 bigstringaf
50 ];
51
52 checkInputs = [
53 afl-persistent
54 alcotest
55 cmdliner
56 fpath
57 hxd
58 jsonm
59 mirage-crypto-rng
60 ];
61 # Checks are not compatible with mirage-crypto-rng ≥ 1.0
62 doCheck = false;
63
64 meta = {
65 description = "Parser and generator of mail in OCaml";
66 homepage = "https://github.com/mirage/mrmime";
67 license = lib.licenses.mit;
68 maintainers = [ ];
69 mainProgram = "mrmime.generate";
70 };
71}