1{ lib, fetchurl, buildDunePackage, qcheck, qcheck-alcotest, alcotest }:
2
3buildDunePackage rec {
4 pname = "seqes";
5 version = "0.2";
6 src = fetchurl {
7 url = "https://gitlab.com/nomadic-labs/seqes/-/archive/${version}/seqes-${version}.tar.gz";
8 sha256 = "sha256-IxLA0jaIPdX9Zn/GL8UHDJYjA1UBW6leGbZmp64YMjI=";
9 };
10
11 minimalOCamlVersion = "4.14";
12
13 doCheck = true;
14 checkInputs = [ qcheck qcheck-alcotest alcotest ];
15
16 meta = with lib; {
17 description = "Variations of the Seq module with monads folded into the type";
18 homepage = "https://gitlab.com/nomadic-labs/seqes";
19 license = licenses.lgpl2; # Same as OCaml
20 maintainers = [ maintainers.ulrikstrid ];
21 };
22}