mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
5ea573ca47
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
53 lines
1.1 KiB
Nix
53 lines
1.1 KiB
Nix
{ lib
|
|
, buildDunePackage
|
|
, fetchurl
|
|
, fetchpatch
|
|
, mirage-crypto-rng
|
|
, mtime
|
|
, gluon
|
|
, randomconv
|
|
, rio
|
|
, telemetry
|
|
, tls
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "riot";
|
|
version = "0.0.8";
|
|
|
|
minimalOCamlVersion = "5.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/leostera/riot/releases/download/${version}/riot-${version}.tbz";
|
|
hash = "sha256-SsiDz53b9bMIT9Q3IwDdB3WKy98WSd9fiieU41qZpeE=";
|
|
};
|
|
|
|
# Compatibility with tls 0.17.5
|
|
patches = fetchpatch {
|
|
url = "https://github.com/riot-ml/riot/commit/bbbf0efce6dc84afba84e84cc231ce7ef2dcaa91.patch";
|
|
hash = "sha256-qsPuEpur5DohOGezSTpOyBq9WxnY9OS6+w2Ls0tZkT8=";
|
|
includes = [ "riot/lib/ssl.ml" ];
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
gluon
|
|
mirage-crypto-rng
|
|
mtime
|
|
randomconv
|
|
rio
|
|
telemetry
|
|
tls
|
|
];
|
|
|
|
doCheck = false; # fails on sandbox
|
|
|
|
meta = {
|
|
description = "Actor-model multi-core scheduler for OCaml 5";
|
|
homepage = "https://github.com/leostera/riot";
|
|
changelog = "https://github.com/leostera/riot/blob/${version}/CHANGES.md";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ ];
|
|
broken = true; # Not compatible with mirage-crypto ≥ 1.0
|
|
};
|
|
}
|