depot/third_party/nixpkgs/pkgs/development/ocaml-modules/ocaml-monadic/default.nix
Default email ffc78d3539 Project import generated by Copybara.
GitOrigin-RevId: d9dba88d08a9cdf483c3d45f0d7220cf97a4ce64
2021-01-05 19:05:55 +02:00

27 lines
652 B
Nix

{ lib, fetchFromGitHub, buildDunePackage
, ocaml-migrate-parsetree, ppx_tools_versioned
}:
buildDunePackage rec {
pname = "ocaml-monadic";
version = "0.4.1";
useDune2 = true;
src = fetchFromGitHub {
owner = "zepalmer";
repo = pname;
rev = version;
sha256 = "1zcwydypk5vwfn1g7srnl5076scwwq5a5y8xwcjl70pc4cpzszll";
};
buildInputs = [ ppx_tools_versioned ];
propagatedBuildInputs = [ ocaml-migrate-parsetree ];
meta = {
inherit (src.meta) homepage;
description = "A PPX extension to provide an OCaml-friendly monadic syntax";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.vbgl ];
};
}