2019-10-05 08:36:46 +01:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage
|
2021-07-16 07:40:40 +01:00
|
|
|
, ppxlib
|
2019-10-05 08:36:46 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "ocaml-monadic";
|
2021-07-16 07:40:40 +01:00
|
|
|
version = "0.5.0";
|
2019-10-05 08:36:46 +01:00
|
|
|
|
2021-01-01 14:56:27 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
2019-10-05 08:36:46 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zepalmer";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-07-16 07:40:40 +01:00
|
|
|
sha256 = "1ynv3yhdqmkhkgnz6c5kv6ryjcc934sdvw9rhh8rjg2dlzlffgbw";
|
2019-10-05 08:36:46 +01:00
|
|
|
};
|
|
|
|
|
2021-07-16 07:40:40 +01:00
|
|
|
buildInputs = [ ppxlib ];
|
2019-10-05 08:36:46 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|