nixpkgs/pkgs/development/ocaml-modules/ppx_monad/default.nix
2023-04-17 17:21:20 +01: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}";
};
}