Merge pull request #226670 from Niols/ppx_monad
ocamlPackages.ppx_monad: init at 0.2.0
This commit is contained in:
commit
4e62ec6291
32
pkgs/development/ocaml-modules/ppx_monad/default.nix
Normal file
32
pkgs/development/ocaml-modules/ppx_monad/default.nix
Normal 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}";
|
||||||
|
};
|
||||||
|
}
|
@ -1347,6 +1347,8 @@ let
|
|||||||
|
|
||||||
ppx_irmin = callPackage ../development/ocaml-modules/irmin/ppx.nix { };
|
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_repr = callPackage ../development/ocaml-modules/repr/ppx.nix { };
|
||||||
|
|
||||||
ppx_tools =
|
ppx_tools =
|
||||||
|
Loading…
Reference in New Issue
Block a user