about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/mirage-block
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2021-09-29 14:28:09 +0200
committerGitHub <noreply@github.com>2021-09-29 14:28:09 +0200
commitc1e83d738d3bf037191566be2d22cb6b19c943b3 (patch)
tree498149e2fab0c8f0e8b3fbad2e3b5e65978c92f4 /pkgs/development/ocaml-modules/mirage-block
parentaf51852adf5556e5627514ee1bcfa5301305f746 (diff)
ocamlPackages: update a bunch of libraries from the mirage universe (#132550)
* ocamlPackages.cstruct: 6.0.0 -> 6.0.1

https://github.com/mirage/ocaml-cstruct/releases/tag/v6.0.1

* ocamlPackages.tls: 0.13.2 -> 0.14.1

* ocamlPackages.letsencrypt: 0.2.5 -> 0.3.0

ocamlPackages.letsencrypt-dns: init at 0.3.0
ocamlPackages.letsencrypt-app: init at 0.2.5

https://github.com/mmaker/ocaml-letsencrypt/releases/tag/v0.3.0

* ocamlPackages.paf: 0.0.3 -> 0.0.5

ocamlPackages.paf-cohttp: init at 0.0.5
ocamlPackages.paf-le: init at 0.0.5

* ocamlPackages.conduit*: 4.0.0 -> 4.0.1

* ocamlPackages.git*: 3.4.0 -> 3.5.0

* ocamlPackages.{ipaddr, macaddr}: 5.1.0 -> 5.2.0

https://github.com/mirage/ocaml-ipaddr/releases/tag/v5.2.0

Co-Authored-By: TG ⊗ Θ <*@tg-x.net>

* jackline: unstable-2021-04-23 -> unstable-2021-08-10

* ocamlPackages.mirage-block-combinators: patch for cstruct 6.0.0

The patch is a trivial search and replace of Cstruct.len ->
Cstruct.length otherwise the build will fail due to deprecation warnings.

* ocamlPackages.x509: 0.14.0 -> 0.14.1

Co-authored-by: TG ⊗ Θ <*@tg-x.net>
Diffstat (limited to 'pkgs/development/ocaml-modules/mirage-block')
-rw-r--r--pkgs/development/ocaml-modules/mirage-block/combinators.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/mirage-block/combinators.nix b/pkgs/development/ocaml-modules/mirage-block/combinators.nix
index 9d0cdd435cbcd..4787373c1e313 100644
--- a/pkgs/development/ocaml-modules/mirage-block/combinators.nix
+++ b/pkgs/development/ocaml-modules/mirage-block/combinators.nix
@@ -1,9 +1,17 @@
-{ buildDunePackage, mirage-block, io-page, logs }:
+{ buildDunePackage, fetchpatch, mirage-block, io-page, logs }:
 
 buildDunePackage rec {
   pname = "mirage-block-combinators";
   inherit (mirage-block) version src useDune2;
 
+  patches = [
+    (fetchpatch {
+      name = "cstruct-6.0.0-compat.patch";
+      url = "https://github.com/mirage/mirage-block/pull/49/commits/ff54105b21fb32d0d6977b419db0776e6c2ea166.patch";
+      sha256 = "0bwgypnsyn4d9b46q6r7kh5qfcy58db7krs6z5zw83hc7y20y2sd";
+    })
+  ];
+
   propagatedBuildInputs = [ mirage-block io-page logs ];
 
   meta = mirage-block.meta // {