ocamlPackages.telegraml: prepare for batteries 3.7.1

This commit is contained in:
Vincent Laporte 2023-09-18 08:21:02 +02:00
parent 5efaf495d0
commit 443321aed2
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F

View File

@ -10,7 +10,6 @@
buildDunePackage rec {
pname = "telegraml";
version = "unstable-2021-06-17";
duneVersion = "3";
src = fetchFromGitHub {
owner = "nv-vn";
@ -19,6 +18,10 @@ buildDunePackage rec {
sha256 = "sha256-2bMHARatwl8Zl/fWppvwbH6Ut+igJVKzwyQb8Q4gem4=";
};
postPatch = ''
substituteInPlace src/dune --replace batteries batteries.unthreaded
'';
propagatedBuildInputs = [
batteries
cohttp-lwt-unix