ocamlPackages.riot: migrate to finalAttrs
This commit is contained in:
@@ -12,14 +12,14 @@
|
||||
tls,
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
buildDunePackage (finalAttrs: {
|
||||
pname = "riot";
|
||||
version = "0.0.8";
|
||||
|
||||
minimalOCamlVersion = "5.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/leostera/riot/releases/download/${version}/riot-${version}.tbz";
|
||||
url = "https://github.com/leostera/riot/releases/download/${finalAttrs.version}/riot-${finalAttrs.version}.tbz";
|
||||
hash = "sha256-SsiDz53b9bMIT9Q3IwDdB3WKy98WSd9fiieU41qZpeE=";
|
||||
};
|
||||
|
||||
@@ -45,9 +45,9 @@ buildDunePackage rec {
|
||||
meta = {
|
||||
description = "Actor-model multi-core scheduler for OCaml 5";
|
||||
homepage = "https://github.com/leostera/riot";
|
||||
changelog = "https://github.com/leostera/riot/blob/${version}/CHANGES.md";
|
||||
changelog = "https://github.com/leostera/riot/blob/${finalAttrs.version}/CHANGES.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ ];
|
||||
broken = true; # Not compatible with mirage-crypto ≥ 1.0
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user