Loading pkgs/development/ocaml-modules/reason-react/default.nix 0 → 100644 +23 −0 Original line number Diff line number Diff line { buildDunePackage, melange, reason, reason-react-ppx, }: buildDunePackage { pname = "reason-react"; inherit (reason-react-ppx) version src; nativeBuildInputs = [ reason melange ]; buildInputs = [ reason-react-ppx melange ]; doCheck = true; meta = reason-react-ppx.meta // { description = "Reason bindings for React.js"; }; } pkgs/development/ocaml-modules/reason-react/ppx.nix 0 → 100644 +31 −0 Original line number Diff line number Diff line { buildDunePackage, fetchurl, lib, ppxlib, }: let version = "0.15.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-+pPJo/b50vp4pAC/ygI1LHB5O0pDJ1xpcQZOdFP8Q80="; }; 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 ]; }; } pkgs/top-level/ocaml-packages.nix +4 −0 Original line number Diff line number Diff line Loading @@ -1650,6 +1650,10 @@ let reason-native = lib.recurseIntoAttrs (callPackage ../development/ocaml-modules/reason-native { }); reason-react = callPackage ../development/ocaml-modules/reason-react { }; reason-react-ppx = callPackage ../development/ocaml-modules/reason-react/ppx.nix { }; rebez = callPackage ../development/ocaml-modules/rebez { }; reperf = callPackage ../development/ocaml-modules/reperf { }; Loading Loading
pkgs/development/ocaml-modules/reason-react/default.nix 0 → 100644 +23 −0 Original line number Diff line number Diff line { buildDunePackage, melange, reason, reason-react-ppx, }: buildDunePackage { pname = "reason-react"; inherit (reason-react-ppx) version src; nativeBuildInputs = [ reason melange ]; buildInputs = [ reason-react-ppx melange ]; doCheck = true; meta = reason-react-ppx.meta // { description = "Reason bindings for React.js"; }; }
pkgs/development/ocaml-modules/reason-react/ppx.nix 0 → 100644 +31 −0 Original line number Diff line number Diff line { buildDunePackage, fetchurl, lib, ppxlib, }: let version = "0.15.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-+pPJo/b50vp4pAC/ygI1LHB5O0pDJ1xpcQZOdFP8Q80="; }; 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 ]; }; }
pkgs/top-level/ocaml-packages.nix +4 −0 Original line number Diff line number Diff line Loading @@ -1650,6 +1650,10 @@ let reason-native = lib.recurseIntoAttrs (callPackage ../development/ocaml-modules/reason-native { }); reason-react = callPackage ../development/ocaml-modules/reason-react { }; reason-react-ppx = callPackage ../development/ocaml-modules/reason-react/ppx.nix { }; rebez = callPackage ../development/ocaml-modules/rebez { }; reperf = callPackage ../development/ocaml-modules/reperf { }; Loading