depot/third_party/nixpkgs/pkgs/development/ocaml-modules/ppx_monad/default.nix
Default email c7e6337bd0 Project import generated by Copybara.
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
2023-04-29 12:46:19 -04:00

32 lines
620 B
Nix

{ lib, fetchFromGitHub, buildDunePackage
, ppxlib
}:
buildDunePackage rec {
pname = "ppx_monad";
version = "0.2.0";
duneVersion = "3";
src = fetchFromGitHub {
owner = "niols";
repo = pname;
rev = "v${version}";
sha256 = "sha256-cbguAddSlUxBK7pmT7vNmtJW9TrVZZjdSJRMT3lqxOA=";
};
propagatedBuildInputs = [
ppxlib
];
doCheck = true;
checkInputs = [
];
meta = {
description = "An OCaml Syntax Extension for all Monadic Syntaxes";
license = lib.licenses.lgpl3Plus;
maintainers = [ lib.maintainers.niols ];
homepage = "https://github.com/niols/${pname}";
};
}