2019-10-05 09:36:46 +02:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage
|
2021-07-16 08:40:40 +02:00
|
|
|
, ppxlib
|
2019-10-05 09:36:46 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "ocaml-monadic";
|
2021-07-16 08:40:40 +02:00
|
|
|
version = "0.5.0";
|
2019-10-05 09:36:46 +02:00
|
|
|
|
2021-01-01 15:56:27 +01:00
|
|
|
useDune2 = true;
|
|
|
|
|
2019-10-05 09:36:46 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zepalmer";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-07-16 08:40:40 +02:00
|
|
|
sha256 = "1ynv3yhdqmkhkgnz6c5kv6ryjcc934sdvw9rhh8rjg2dlzlffgbw";
|
2019-10-05 09:36:46 +02:00
|
|
|
};
|
|
|
|
|
2021-07-16 08:40:40 +02:00
|
|
|
buildInputs = [ ppxlib ];
|
2019-10-05 09:36:46 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
description = "A PPX extension to provide an OCaml-friendly monadic syntax";
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
|
|
};
|
|
|
|
}
|