ocamlPackages.reason-react(-ppx): 0.15.0 -> 0.16.0
This commit is contained in:
parent
8f352096bb
commit
2fb4c9190e
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
buildDunePackage,
|
buildDunePackage,
|
||||||
fetchpatch,
|
|
||||||
melange,
|
melange,
|
||||||
reason,
|
reason,
|
||||||
reason-react-ppx,
|
reason-react-ppx,
|
||||||
@ -9,14 +8,6 @@
|
|||||||
buildDunePackage {
|
buildDunePackage {
|
||||||
pname = "reason-react";
|
pname = "reason-react";
|
||||||
inherit (reason-react-ppx) version src;
|
inherit (reason-react-ppx) version src;
|
||||||
patches = [
|
|
||||||
# Makes tests compatible with melange 5.0.0
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/reasonml/reason-react/commit/661e93553ae48af410895477c339be4f0a203437.patch";
|
|
||||||
includes = [ "test/*" ];
|
|
||||||
hash = "sha256-khxPxC/GpByjcEZDoQ1NdXoM/yQBAKmnUnt/d2k6WfQ=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
reason
|
reason
|
||||||
melange
|
melange
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "0.15.0";
|
version = "0.16.0";
|
||||||
in
|
in
|
||||||
buildDunePackage {
|
buildDunePackage {
|
||||||
pname = "reason-react-ppx";
|
pname = "reason-react-ppx";
|
||||||
@ -14,7 +14,7 @@ buildDunePackage {
|
|||||||
minimalOCamlVersion = "4.14";
|
minimalOCamlVersion = "4.14";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/reasonml/reason-react/releases/download/${version}/reason-react-${version}.tbz";
|
url = "https://github.com/reasonml/reason-react/releases/download/${version}/reason-react-${version}.tbz";
|
||||||
hash = "sha256-+pPJo/b50vp4pAC/ygI1LHB5O0pDJ1xpcQZOdFP8Q80=";
|
hash = "sha256-esPB+mvHHTQ3mUYILrkOjMELJxRDIsWleFcxIwOPQ1w=";
|
||||||
};
|
};
|
||||||
buildInputs = [ ppxlib ];
|
buildInputs = [ ppxlib ];
|
||||||
doCheck = false; # Needs to run in reason-react, see default.nix
|
doCheck = false; # Needs to run in reason-react, see default.nix
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user