From 16c164d9203c07f7b8f0dcaea32783a254d2ce48 Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Thu, 22 Jan 2026 12:08:50 -0600 Subject: [PATCH] ocamlPackages.pcap-format: migrate to finalAttrs --- pkgs/development/ocaml-modules/pcap-format/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/ocaml-modules/pcap-format/default.nix b/pkgs/development/ocaml-modules/pcap-format/default.nix index b254dbf9af96..bffab81b4ee5 100644 --- a/pkgs/development/ocaml-modules/pcap-format/default.nix +++ b/pkgs/development/ocaml-modules/pcap-format/default.nix @@ -7,7 +7,7 @@ ounit, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "pcap-format"; version = "0.6.0"; @@ -15,7 +15,7 @@ buildDunePackage rec { duneVersion = "3"; src = fetchurl { - url = "https://github.com/mirage/ocaml-pcap/releases/download/v${version}/${pname}-${version}.tbz"; + url = "https://github.com/mirage/ocaml-pcap/releases/download/v${finalAttrs.version}/pcap-format-${finalAttrs.version}.tbz"; hash = "sha256-LUjy8Xm6VsnMq1FHKzmJg7uorkTv7cOTsoLwmtNHkaY="; }; @@ -38,4 +38,4 @@ buildDunePackage rec { license = lib.licenses.isc; maintainers = [ lib.maintainers.sternenseemann ]; }; -} +})