ocamlPackages.multicore-bench: migrate to finalAttrs
This commit is contained in:
@@ -9,12 +9,12 @@
|
||||
yojson,
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
buildDunePackage (finalAttrs: {
|
||||
pname = "multicore-bench";
|
||||
version = "0.1.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ocaml-multicore/multicore-bench/releases/download/${version}/multicore-bench-${version}.tbz";
|
||||
url = "https://github.com/ocaml-multicore/multicore-bench/releases/download/${finalAttrs.version}/multicore-bench-${finalAttrs.version}.tbz";
|
||||
hash = "sha256-vrp9yiuTwhijhYjeDKPFRGyh/5LeydKWJSyMLZRRXIM=";
|
||||
};
|
||||
|
||||
@@ -32,4 +32,4 @@ buildDunePackage rec {
|
||||
license = lib.licenses.isc;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user