Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
725 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
buildDunePackage,
fetchurl,
lib,
ppxlib,
}:
let
version = "0.16.0";
in
buildDunePackage {
pname = "reason-react-ppx";
inherit version;
minimalOCamlVersion = "4.14";
src = fetchurl {
url = "https://github.com/reasonml/reason-react/releases/download/${version}/reason-react-${version}.tbz";
hash = "sha256-esPB+mvHHTQ3mUYILrkOjMELJxRDIsWleFcxIwOPQ1w=";
};
buildInputs = [ ppxlib ];
doCheck = false; # Needs to run in reason-react, see default.nix
meta = {
description = "React.js JSX PPX";
homepage = "https://github.com/reasonml/reason-react";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vog ];
broken = lib.versionAtLeast ppxlib.version "0.36";
};
}