ocamlPackages.patch: 2.0.0 -> 3.0.0
ocamlPackages.ray{lib,gui}: fix with patch 3.0.0
This commit is contained in:
parent
c388369f5f
commit
4ae8242fb8
@ -9,15 +9,15 @@
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "patch";
|
||||
version = "2.0.0";
|
||||
version = "3.0.0";
|
||||
|
||||
minimalOCamlVersion = "4.03";
|
||||
minimalOCamlVersion = "4.08";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hannesm";
|
||||
repo = "patch";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-xqcUZaKlbyXF2//MbCom7/pGA2ej6KHYI3rizXwoqTY=";
|
||||
hash = "sha256-WIleUxfGp8cvQHYAyRRI6S/MSP4u0BbEyAqlRxCb/To=";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
fetchurl,
|
||||
fetchpatch,
|
||||
buildDunePackage,
|
||||
dune-configurator,
|
||||
ctypes,
|
||||
@ -23,6 +24,18 @@ buildDunePackage rec {
|
||||
hash = "sha256-/SeKgQOrhsAgMNk6ODAZlopL0mL0lVfCTx1ugmV1P/s=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "fix-build-with-patch-3.0.0.patch";
|
||||
url = "https://github.com/tjammer/raylib-ocaml/commit/40e6fef44e3c39d4526806c4b830da77c4fe4bb8.patch";
|
||||
excludes = [
|
||||
"dune-project"
|
||||
"raygui.opam"
|
||||
];
|
||||
hash = "sha256-MEZkkBgjL2iT6Av/s0tJCrW7+oyp9QD6sUbXEusCAWI=";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
dune-configurator
|
||||
patch
|
||||
|
@ -13,6 +13,8 @@ buildDunePackage rec {
|
||||
hash = "sha256-PQcVTAQKeTPkOOHk5w3O3Tz0n7jLvkIo3Urvrk66eMs=";
|
||||
};
|
||||
|
||||
inherit (raylib) patches;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
raylib
|
||||
];
|
||||
|
Loading…
x
Reference in New Issue
Block a user