ocamlPackages.pcap-format: migrate to finalAttrs

This commit is contained in:
Guy Chronister
2026-05-12 13:28:32 -05:00
parent 682b92af2f
commit 16c164d920
@@ -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 ];
};
}
})