1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 17:41:12 +00:00
nixpkgs/pkgs/development/ocaml-modules/ocaml-monadic/default.nix
2021-07-22 21:36:22 +02:00

27 lines
546 B
Nix

{ lib, fetchFromGitHub, buildDunePackage
, ppxlib
}:
buildDunePackage rec {
pname = "ocaml-monadic";
version = "0.5.0";
useDune2 = true;
src = fetchFromGitHub {
owner = "zepalmer";
repo = pname;
rev = version;
sha256 = "1ynv3yhdqmkhkgnz6c5kv6ryjcc934sdvw9rhh8rjg2dlzlffgbw";
};
buildInputs = [ ppxlib ];
meta = {
inherit (src.meta) homepage;
description = "A PPX extension to provide an OCaml-friendly monadic syntax";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.vbgl ];
};
}