summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/lwt-dllist
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2020-12-29 23:04:52 +0100
committersternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2020-12-29 23:50:37 +0100
commit697e5e8346d8374ab12612ac8168a47d789a416b (patch)
tree09c42189afe47820e88d82b7da535e411a5f0d4f /pkgs/development/ocaml-modules/lwt-dllist
parente71df047a0e0244a6b84bba506d0284fd093deb5 (diff)
downloadnixpkgs-697e5e8346d8374ab12612ac8168a47d789a416b.tar
nixpkgs-697e5e8346d8374ab12612ac8168a47d789a416b.tar.gz
nixpkgs-697e5e8346d8374ab12612ac8168a47d789a416b.tar.bz2
nixpkgs-697e5e8346d8374ab12612ac8168a47d789a416b.tar.lz
nixpkgs-697e5e8346d8374ab12612ac8168a47d789a416b.tar.xz
nixpkgs-697e5e8346d8374ab12612ac8168a47d789a416b.tar.zst
nixpkgs-697e5e8346d8374ab12612ac8168a47d789a416b.zip
ocamlPackages.lwt-dllist: init at 1.0.0
Diffstat (limited to 'pkgs/development/ocaml-modules/lwt-dllist')
-rw-r--r--pkgs/development/ocaml-modules/lwt-dllist/default.nix26
1 files changed, 26 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..59e13330e58
--- /dev/null
+++ b/pkgs/development/ocaml-modules/lwt-dllist/default.nix
@@ -0,0 +1,26 @@
+{ lib, buildDunePackage, fetchurl, lwt }:
+
+buildDunePackage rec {
+  pname = "lwt-dllist";
+  version = "1.0.0";
+
+  minimumOCamlVersion = "4.03";
+
+  src = fetchurl {
+    url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
+    sha256 = "0g111f8fq9k1hwccpkhylkp83f73mlz4xnxxr3rf9xpi2f8fh7j9";
+  };
+
+  propagatedBuildInputs = [
+    lwt
+  ];
+
+  doCheck = true;
+
+  meta = with lib; {
+    description = "Mutable doubly-linked list with Lwt iterators";
+    homepage = "https://github.com/mirage/lwt-dllist";
+    license = licenses.mit;
+    maintainers = [ maintainers.sternenseemann ];
+  };
+}