Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 fetchurl, 5 ppxlib, 6 rio, 7 sedlex, 8 spices, 9 uutf, 10 qcheck, 11}: 12 13buildDunePackage rec { 14 pname = "bytestring"; 15 version = "0.0.8"; 16 17 minimalOCamlVersion = "5.1"; 18 19 src = fetchurl { 20 url = "https://github.com/riot-ml/riot/releases/download/${version}/riot-${version}.tbz"; 21 hash = "sha256-SsiDz53b9bMIT9Q3IwDdB3WKy98WSd9fiieU41qZpeE="; 22 }; 23 24 propagatedBuildInputs = [ 25 ppxlib 26 sedlex 27 spices 28 rio 29 uutf 30 ]; 31 32 checkInputs = [ 33 qcheck 34 ]; 35 36 # Checks fail with OCaml 5.2 37 doCheck = false; 38 39 meta = { 40 description = "Efficient, immutable, pattern-matchable, UTF friendly byte strings"; 41 homepage = "https://github.com/riot-ml/riot"; 42 license = lib.licenses.mit; 43 maintainers = [ ]; 44 }; 45}