add ocamlPackages.ppx_unicode
This commit is contained in:
parent
3f560c00a3
commit
2f5f5d2858
|
@ -101,6 +101,10 @@ the service user and group
|
||||||
a variant of ghidra built with a headless openjdk, intended to reduce closure size for server
|
a variant of ghidra built with a headless openjdk, intended to reduce closure size for server
|
||||||
operation
|
operation
|
||||||
|
|
||||||
|
### [`ocamlPackages.ppx_unicode`](./pkgs/ocaml/ppx_unicode)
|
||||||
|
|
||||||
|
opinionated ppx for string literals: <https://git.lain.faith/haskal/ppx_unicode>
|
||||||
|
|
||||||
### [`ocamlPackages.xlog`](./pkgs/ocaml/xlog)
|
### [`ocamlPackages.xlog`](./pkgs/ocaml/xlog)
|
||||||
|
|
||||||
logging for cats, in ocaml: <https://git.lain.faith/haskal/xlog>
|
logging for cats, in ocaml: <https://git.lain.faith/haskal/xlog>
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
ocamlPackages = prev.ocamlPackages.overrideScope (ofinal: oprev: {
|
ocamlPackages = prev.ocamlPackages.overrideScope (ofinal: oprev: {
|
||||||
|
ppx_unicode = ofinal.callPackage ./pkgs/ocaml/ppx_unicode {};
|
||||||
xlog = ofinal.callPackage ./pkgs/ocaml/xlog {};
|
xlog = ofinal.callPackage ./pkgs/ocaml/xlog {};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
{
|
||||||
|
fetchgit,
|
||||||
|
buildDunePackage,
|
||||||
|
|
||||||
|
ppxlib,
|
||||||
|
uunf
|
||||||
|
}:
|
||||||
|
buildDunePackage rec {
|
||||||
|
pname = "ppx_unicode";
|
||||||
|
version = "0.0.1";
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
url = "https://git.lain.faith/haskal/ppx_unicode.git";
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-Dlx9NKNG6txRhjNC9Nih5mTvOVoQS9olMdItmibb3fI=";
|
||||||
|
};
|
||||||
|
|
||||||
|
minimalOcamlVersion = "5.1";
|
||||||
|
dontStrip = true;
|
||||||
|
|
||||||
|
buildInputs = [ ppxlib uunf ];
|
||||||
|
}
|
Loading…
Reference in New Issue