32 lines
677 B
Nix
32 lines
677 B
Nix
{
|
|
fetchgit,
|
|
buildDunePackage,
|
|
|
|
ppxlib,
|
|
uunf
|
|
}:
|
|
buildDunePackage rec {
|
|
pname = "ppx_unicode";
|
|
version = "0.1.0";
|
|
|
|
src = fetchgit {
|
|
url = "https://git.lain.faith/haskal/ppx_unicode.git";
|
|
rev = version;
|
|
hash = "sha256-WUrVW/JndDoMLPx5VSQmlcfafxPxwQe2l7CuTnxtV7Q=";
|
|
};
|
|
|
|
minimalOcamlVersion = "5.1";
|
|
dontStrip = true;
|
|
|
|
nativeBuildInputs = [ ppxlib ];
|
|
propagatedBuildInputs = [ ppxlib uunf ];
|
|
|
|
meta = {
|
|
description = "opinionated ppx for string literals";
|
|
homepage = "https://git.lain.faith/haskal/ppx_unicode";
|
|
license = lib.licenses.cc-by-nc-sa-40;
|
|
maintainers = [];
|
|
platforms = with lib.platforms; linux ++ darwin;
|
|
};
|
|
}
|