mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
ocamlPackages.backoff: migrate to finalAttrs
This commit is contained in:
parent
107a12bcfc
commit
a7f9e95e63
1 changed files with 3 additions and 3 deletions
|
|
@ -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";
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue