2021-07-24 18:24:27 +00:00
|
|
|
{ lib, buildDunePackage, fetchurl, lwt, ocaml }:
|
2020-12-29 22:04:52 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "lwt-dllist";
|
2021-07-24 18:24:27 +00:00
|
|
|
version = "1.0.1";
|
2020-12-29 22:04:52 +00:00
|
|
|
|
2021-02-08 08:04:12 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
2024-06-21 08:29:31 +00:00
|
|
|
minimalOCamlVersion = "4.02";
|
2020-12-29 22:04:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
|
2021-07-24 18:24:27 +00:00
|
|
|
sha256 = "e86ce75e40f00d51514cf8b2e71e5184c4cb5dae96136be24613406cfc0dba6e";
|
2020-12-29 22:04:52 +00:00
|
|
|
};
|
|
|
|
|
2022-03-01 15:42:22 +00:00
|
|
|
checkInputs = [
|
2020-12-29 22:04:52 +00:00
|
|
|
lwt
|
|
|
|
];
|
2021-07-24 18:24:27 +00:00
|
|
|
doCheck = lib.versionAtLeast ocaml.version "4.03";
|
2020-12-29 22:04:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Mutable doubly-linked list with Lwt iterators";
|
|
|
|
homepage = "https://github.com/mirage/lwt-dllist";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.sternenseemann ];
|
|
|
|
};
|
|
|
|
}
|