Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 fetchurl, 5 fmt, 6 alcotest, 7 bigstringaf, 8}: 9 10buildDunePackage rec { 11 pname = "ke"; 12 version = "0.6"; 13 14 src = fetchurl { 15 url = "https://github.com/mirage/ke/releases/download/v${version}/ke-${version}.tbz"; 16 sha256 = "sha256-YSFyB+IgCwSxd1lzZhD/kggmmmR/hUy1rnLNrA1nIwU="; 17 }; 18 19 propagatedBuildInputs = [ fmt ]; 20 21 checkInputs = [ 22 alcotest 23 bigstringaf 24 ]; 25 doCheck = true; 26 27 minimalOCamlVersion = "4.08"; 28 duneVersion = "3"; 29 30 meta = { 31 description = "Fast implementation of queue in OCaml"; 32 homepage = "https://github.com/mirage/ke"; 33 license = lib.licenses.mit; 34 maintainers = [ lib.maintainers.vbgl ]; 35 }; 36}