2020-04-24 23:36:52 +00:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage
|
2021-07-24 12:14:16 +00:00
|
|
|
, ppxlib
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "ocaml-monadic";
|
2021-07-24 12:14:16 +00:00
|
|
|
version = "0.5.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-05 17:05:55 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zepalmer";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-07-24 12:14:16 +00:00
|
|
|
sha256 = "1ynv3yhdqmkhkgnz6c5kv6ryjcc934sdvw9rhh8rjg2dlzlffgbw";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-07-24 12:14:16 +00:00
|
|
|
buildInputs = [ ppxlib ];
|
2020-04-24 23:36:52 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|