mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
ocamlPackages.reason-react(-ppx): 0.15.0 -> 0.16.0
This commit is contained in:
committed by
Vincent Laporte
parent
8f352096bb
commit
2fb4c9190e
@@ -1,6 +1,5 @@
|
||||
{
|
||||
buildDunePackage,
|
||||
fetchpatch,
|
||||
melange,
|
||||
reason,
|
||||
reason-react-ppx,
|
||||
@@ -9,14 +8,6 @@
|
||||
buildDunePackage {
|
||||
pname = "reason-react";
|
||||
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 = [
|
||||
reason
|
||||
melange
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "0.15.0";
|
||||
version = "0.16.0";
|
||||
in
|
||||
buildDunePackage {
|
||||
pname = "reason-react-ppx";
|
||||
@@ -14,7 +14,7 @@ buildDunePackage {
|
||||
minimalOCamlVersion = "4.14";
|
||||
src = fetchurl {
|
||||
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 ];
|
||||
doCheck = false; # Needs to run in reason-react, see default.nix
|
||||
|
||||
Reference in New Issue
Block a user