nixpkgs/pkgs/development/ocaml-modules/mrmime/default.nix
Vincent Laporte 5ea573ca47 ocamlPackages.mirage-crypto: 0.11.3 → 1.1.0
ocamlPackages.asn1-combinators: 0.2.6 → 0.3.1
ocamlPackages.awa: 0.3.1 → 0.4.0
ocamlPackages.ca-certs: 0.2.3 → 1.0.0
ocamlPackages.ca-certs-nss: 3.101 → 3.103
ocamlPackages.conduit: 6.2.3 → 7.0.0
ocamlPackages.dns: 8.0.0 → 9.0.0
ocamlPackages.erm_xmpp: 0.3+20220404 → 0.3+20241009
ocamlPackages.git: 3.16.1 → 3.17.0
ocamlPackages.hkdf: 1.0.4 → 2.0.0
ocamlPackages.http-mirage-client: 0.0.6 → 0.0.7
ocamlPackages.letsencrypt: 0.5.1 → 1.0.0
ocamlPackages.paf: 0.6.0 → 0.7.0
ocamlPackages.pbkdf: 1.2.0 → 2.0.0
ocamlPackages.randomconv: 0.1.3 → 0.2.0
ocamlPackages.tcpip: 8.1.0 → 8.2.0
ocamlPackages.tls: 0.17.5 → 1.0.1
ocamlPackages.x509: 0.16.5 → 1.0.2

ocamlPackages.mrmime: disable tests

ocamlPackages.chacha: mark as broken
ocamlPackages.opium: mark as broken
ocamlPackages.otr: mark as broken
ocamlPackages.riot: mark as broken
2024-10-21 07:01:12 +02:00

71 lines
1.1 KiB
Nix

{ afl-persistent
, alcotest
, angstrom
, base64
, bigarray-overlap
, bigstringaf
, buildDunePackage
, cmdliner
, emile
, fetchurl
, fpath
, hxd
, ipaddr
, jsonm
, ke
, lib
, mirage-crypto-rng
, pecu
, prettym
, ptime
, rosetta
, unstrctrd
, uutf
}:
buildDunePackage rec {
pname = "mrmime";
version = "0.6.1";
src = fetchurl {
url = "https://github.com/mirage/mrmime/releases/download/v${version}/mrmime-${version}.tbz";
hash = "sha256-Dzsr7xPzu5RIzIdubF4OAAjHJY7CdBVnHRZxQbcCsBY=";
};
propagatedBuildInputs = [
angstrom
base64
emile
ipaddr
ke
pecu
prettym
ptime
rosetta
unstrctrd
uutf
bigarray-overlap
bigstringaf
];
checkInputs = [
afl-persistent
alcotest
cmdliner
fpath
hxd
jsonm
mirage-crypto-rng
];
# Checks are not compatible with mirage-crypto-rng ≥ 1.0
doCheck = false;
meta = {
description = "Parser and generator of mail in OCaml";
homepage = "https://github.com/mirage/mrmime";
license = lib.licenses.mit;
maintainers = [ ];
mainProgram = "mrmime.generate";
};
}