2021-07-24 20:24:27 +02:00
|
|
|
{ lib, buildDunePackage, fetchurl, lwt, ocaml }:
|
2020-12-29 23:04:52 +01:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "lwt-dllist";
|
2021-07-24 20:24:27 +02:00
|
|
|
version = "1.0.1";
|
2020-12-29 23:04:52 +01:00
|
|
|
|
2021-02-08 09:04:12 +01:00
|
|
|
useDune2 = true;
|
|
|
|
|
2021-07-24 20:24:27 +02:00
|
|
|
minimumOCamlVersion = "4.02";
|
2020-12-29 23:04:52 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
|
2021-07-24 20:24:27 +02:00
|
|
|
sha256 = "e86ce75e40f00d51514cf8b2e71e5184c4cb5dae96136be24613406cfc0dba6e";
|
2020-12-29 23:04:52 +01:00
|
|
|
};
|
|
|
|
|
2021-07-24 20:24:27 +02:00
|
|
|
checkInputs = [
|
2020-12-29 23:04:52 +01:00
|
|
|
lwt
|
|
|
|
];
|
2021-07-24 20:24:27 +02:00
|
|
|
doCheck = lib.versionAtLeast ocaml.version "4.03";
|
2020-12-29 23:04:52 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|