ocamlPackages.ppx_monad: init at 0.2.0
This commit is contained in:
parent
f00994e78c
commit
dfbcd782b3
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}";
|
||||||
|
};
|
||||||
|
}
|
|
@ -1345,6 +1345,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 a new issue