diff options
Diffstat (limited to 'pkgs/development/ocaml-modules/lwt-dllist')
-rw-r--r-- | pkgs/development/ocaml-modules/lwt-dllist/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/lwt-dllist/default.nix b/pkgs/development/ocaml-modules/lwt-dllist/default.nix new file mode 100644 index 00000000000..b28981b1b77 --- /dev/null +++ b/pkgs/development/ocaml-modules/lwt-dllist/default.nix @@ -0,0 +1,27 @@ +{ lib, buildDunePackage, fetchurl, lwt, ocaml }: + +buildDunePackage rec { + pname = "lwt-dllist"; + version = "1.0.1"; + + useDune2 = true; + + minimumOCamlVersion = "4.02"; + + src = fetchurl { + url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-v${version}.tbz"; + sha256 = "e86ce75e40f00d51514cf8b2e71e5184c4cb5dae96136be24613406cfc0dba6e"; + }; + + checkInputs = [ + lwt + ]; + doCheck = lib.versionAtLeast ocaml.version "4.03"; + + meta = with lib; { + description = "Mutable doubly-linked list with Lwt iterators"; + homepage = "https://github.com/mirage/lwt-dllist"; + license = licenses.mit; + maintainers = [ maintainers.sternenseemann ]; + }; +} |