Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
29 lines
725 B
Nix
29 lines
725 B
Nix
{
|
|
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";
|
|
};
|
|
}
|