nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 53 lines 1.2 kB view raw
1{ 2 lib, 3 buildDunePackage, 4 fetchurl, 5 fetchpatch, 6 mirage-crypto-rng, 7 mtime, 8 gluon, 9 randomconv, 10 rio, 11 telemetry, 12 tls, 13}: 14 15buildDunePackage rec { 16 pname = "riot"; 17 version = "0.0.8"; 18 19 minimalOCamlVersion = "5.1"; 20 21 src = fetchurl { 22 url = "https://github.com/leostera/riot/releases/download/${version}/riot-${version}.tbz"; 23 hash = "sha256-SsiDz53b9bMIT9Q3IwDdB3WKy98WSd9fiieU41qZpeE="; 24 }; 25 26 # Compatibility with tls 0.17.5 27 patches = fetchpatch { 28 url = "https://github.com/riot-ml/riot/commit/bbbf0efce6dc84afba84e84cc231ce7ef2dcaa91.patch"; 29 hash = "sha256-qsPuEpur5DohOGezSTpOyBq9WxnY9OS6+w2Ls0tZkT8="; 30 includes = [ "riot/lib/ssl.ml" ]; 31 }; 32 33 propagatedBuildInputs = [ 34 gluon 35 mirage-crypto-rng 36 mtime 37 randomconv 38 rio 39 telemetry 40 tls 41 ]; 42 43 doCheck = false; # fails on sandbox 44 45 meta = { 46 description = "Actor-model multi-core scheduler for OCaml 5"; 47 homepage = "https://github.com/leostera/riot"; 48 changelog = "https://github.com/leostera/riot/blob/${version}/CHANGES.md"; 49 license = lib.licenses.mit; 50 maintainers = [ ]; 51 broken = true; # Not compatible with mirage-crypto ≥ 1.0 52 }; 53}