mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
27 lines
546 B
Nix
27 lines
546 B
Nix
{ lib, fetchFromGitHub, buildDunePackage
|
|
, ppxlib
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "ocaml-monadic";
|
|
version = "0.5.0";
|
|
|
|
duneVersion = "3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zepalmer";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "1ynv3yhdqmkhkgnz6c5kv6ryjcc934sdvw9rhh8rjg2dlzlffgbw";
|
|
};
|
|
|
|
buildInputs = [ ppxlib ];
|
|
|
|
meta = {
|
|
inherit (src.meta) homepage;
|
|
description = "PPX extension to provide an OCaml-friendly monadic syntax";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
};
|
|
}
|