Merge pull request #226670 from Niols/ppx_monad

ocamlPackages.ppx_monad: init at 0.2.0
This commit is contained in:
Ulrik Strid 2023-04-18 08:20:36 +02:00 committed by GitHub
commit 4e62ec6291
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ 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}";
};
}

View File

@ -1347,6 +1347,8 @@ let
ppx_irmin = callPackage ../development/ocaml-modules/irmin/ppx.nix { };
ppx_monad = callPackage ../development/ocaml-modules/ppx_monad { };
ppx_repr = callPackage ../development/ocaml-modules/repr/ppx.nix { };
ppx_tools =