nixpkgs/pkgs/development/ocaml-modules/ppx_monad/default.nix

33 lines
620 B
Nix
Raw Normal View History

2023-04-17 17:44:54 +02:00
{ 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}";
};
}