From 2146823fd776aac331ad751366fd4c8fc3f1bb17 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Wed, 26 Nov 2025 05:38:18 +0100 Subject: [PATCH] ocamlPackages.irmin-watcher: small cleaning --- .../ocaml-modules/irmin-watcher/default.nix | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/pkgs/development/ocaml-modules/irmin-watcher/default.nix b/pkgs/development/ocaml-modules/irmin-watcher/default.nix index 62c266750b79..cbbc72d5ff91 100644 --- a/pkgs/development/ocaml-modules/irmin-watcher/default.nix +++ b/pkgs/development/ocaml-modules/irmin-watcher/default.nix @@ -5,25 +5,23 @@ astring, fmt, logs, - ocaml_lwt, + lwt, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "irmin-watcher"; version = "0.5.0"; - useDune2 = true; - src = fetchurl { - url = "https://github.com/mirage/irmin-watcher/releases/download/${version}/irmin-watcher-${version}.tbz"; - sha256 = "sha256-vq4kwaz4QUG9x0fGEbQMAuDGjlT3/6lm8xiXTUqJmZM="; + url = "https://github.com/mirage/irmin-watcher/releases/download/${finalAttrs.version}/irmin-watcher-${finalAttrs.version}.tbz"; + hash = "sha256-vq4kwaz4QUG9x0fGEbQMAuDGjlT3/6lm8xiXTUqJmZM="; }; propagatedBuildInputs = [ astring fmt logs - ocaml_lwt + lwt ]; meta = { @@ -33,4 +31,4 @@ buildDunePackage rec { maintainers = [ lib.maintainers.vbgl ]; }; -} +})