ocamlPackages.ocaml-monadic: init at 0.4.1
This commit is contained in:
parent
514968fcca
commit
632f69857d
2 changed files with 27 additions and 0 deletions
25
pkgs/development/ocaml-modules/ocaml-monadic/default.nix
Normal file
25
pkgs/development/ocaml-modules/ocaml-monadic/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ lib, fetchFromGitHub, buildDunePackage
|
||||
, ocaml-migrate-parsetree, ppx_tools_versioned
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "ocaml-monadic";
|
||||
version = "0.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zepalmer";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1zcwydypk5vwfn1g7srnl5076scwwq5a5y8xwcjl70pc4cpzszll";
|
||||
};
|
||||
|
||||
buildInputs = [ ppx_tools_versioned ];
|
||||
propagatedBuildInputs = [ ocaml-migrate-parsetree ];
|
||||
|
||||
meta = {
|
||||
inherit (src.meta) homepage;
|
||||
description = "A PPX extension to provide an OCaml-friendly monadic syntax";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
};
|
||||
}
|
|
@ -519,6 +519,8 @@ let
|
|||
|
||||
ocamlmod = callPackage ../development/tools/ocaml/ocamlmod { };
|
||||
|
||||
ocaml-monadic = callPackage ../development/ocaml-modules/ocaml-monadic { };
|
||||
|
||||
ocaml_mysql = callPackage ../development/ocaml-modules/mysql { };
|
||||
|
||||
ocamlnet = callPackage ../development/ocaml-modules/ocamlnet { };
|
||||
|
|
Loading…
Reference in a new issue