ocamlPackages.backoff: migrate to finalAttrs

This commit is contained in:
Guy Chronister 2026-01-21 15:59:41 -06:00
commit a7f9e95e63
No known key found for this signature in database
GPG key ID: C7008F146D25A50F

View file

@ -5,12 +5,12 @@
alcotest,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "backoff";
version = "0.1.1";
src = fetchurl {
url = "https://github.com/ocaml-multicore/backoff/releases/download/${version}/backoff-${version}.tbz";
url = "https://github.com/ocaml-multicore/backoff/releases/download/${finalAttrs.version}/backoff-${finalAttrs.version}.tbz";
hash = "sha256-AL6jEbInsbwKVYedpNzjix/YRHtOTizxk6aVNzesnwM=";
};
@ -26,4 +26,4 @@ buildDunePackage rec {
};
minimalOCamlVersion = "4.12";
}
})