Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 fetchurl, 5 lwt, 6 ocaml, 7}: 8 9buildDunePackage rec { 10 pname = "lwt-dllist"; 11 version = "1.0.1"; 12 13 useDune2 = true; 14 15 minimalOCamlVersion = "4.02"; 16 17 src = fetchurl { 18 url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-v${version}.tbz"; 19 sha256 = "e86ce75e40f00d51514cf8b2e71e5184c4cb5dae96136be24613406cfc0dba6e"; 20 }; 21 22 checkInputs = [ 23 lwt 24 ]; 25 doCheck = lib.versionAtLeast ocaml.version "4.03"; 26 27 meta = with lib; { 28 description = "Mutable doubly-linked list with Lwt iterators"; 29 homepage = "https://github.com/mirage/lwt-dllist"; 30 license = licenses.mit; 31 maintainers = [ maintainers.sternenseemann ]; 32 }; 33}