From 19b93bd09ea2221f7b4893e5ac857634add7f129 Mon Sep 17 00:00:00 2001 From: Yifei Sun Date: Fri, 24 Oct 2025 11:11:43 +0200 Subject: [PATCH 1/2] ocamlPackages.mirage-ptime: 5.1.0 -> 5.2.0 --- pkgs/development/ocaml-modules/mirage-ptime/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/ocaml-modules/mirage-ptime/default.nix b/pkgs/development/ocaml-modules/mirage-ptime/default.nix index 8d981684899a..fddd9a832657 100644 --- a/pkgs/development/ocaml-modules/mirage-ptime/default.nix +++ b/pkgs/development/ocaml-modules/mirage-ptime/default.nix @@ -3,7 +3,7 @@ buildDunePackage, fetchurl, ptime, - version ? "5.1.0", + version ? "5.2.0", }: buildDunePackage { @@ -13,7 +13,7 @@ buildDunePackage { src = fetchurl { url = "https://github.com/mirage/mirage-ptime/releases/download/v${version}/mirage-ptime-${version}.tbz"; - hash = "sha256-6bPbMTZeGolRMMN4nmrc+ZZ3HqjnAWtj4V7L4fOKKfY="; + hash = "sha256-YOWpJrfQKG9khCwPb5lZXtf+fip4N0B1AAn2Y9zRLyg="; }; propagatedBuildInputs = [ ptime ]; From 27413a10fe147777f250d34c50080c88d5777061 Mon Sep 17 00:00:00 2001 From: Yifei Sun Date: Fri, 24 Oct 2025 11:15:32 +0200 Subject: [PATCH 2/2] ocamlPackages.http-mirage-client: fix test on darwin, migrate source --- .../ocaml-modules/http-mirage-client/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/development/ocaml-modules/http-mirage-client/default.nix b/pkgs/development/ocaml-modules/http-mirage-client/default.nix index 58f9852e8c86..4689be5ce7f0 100644 --- a/pkgs/development/ocaml-modules/http-mirage-client/default.nix +++ b/pkgs/development/ocaml-modules/http-mirage-client/default.nix @@ -12,14 +12,16 @@ mirage-crypto-rng, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "http-mirage-client"; version = "0.0.10"; minimalOCamlVersion = "4.08"; + __darwinAllowLocalNetworking = true; + src = fetchurl { - url = "https://github.com/roburio/http-mirage-client/releases/download/v${version}/http-mirage-client-${version}.tbz"; + url = "https://github.com/robur-coop/http-mirage-client/releases/download/v${finalAttrs.version}/http-mirage-client-${finalAttrs.version}.tbz"; hash = "sha256-AXEIH1TIAayD4LkFv0yGD8OYvcdC/AJnGudGlkjcWLY="; }; @@ -40,9 +42,9 @@ buildDunePackage rec { meta = { description = "HTTP client for MirageOS"; - homepage = "https://github.com/roburio/http-mirage-client"; + homepage = "https://github.com/robur-coop/http-mirage-client"; + changelog = "https://github.com/robur-coop/http-mirage-client/blob/v${finalAttrs.version}/CHANGES.md"; license = lib.licenses.mit; maintainers = [ lib.maintainers.vbgl ]; }; - -} +})