ocamlPackages.domain-local-await: migrate to finalAttrs
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
thread-table,
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
buildDunePackage (finalAttrs: {
|
||||
pname = "domain-local-await";
|
||||
version = "1.0.1";
|
||||
|
||||
@@ -21,7 +21,7 @@ buildDunePackage rec {
|
||||
};
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ocaml-multicore/${pname}/releases/download/${version}/${pname}-${version}.tbz";
|
||||
url = "https://github.com/ocaml-multicore/domain-local-await/releases/download/${finalAttrs.version}/domain-local-await-${finalAttrs.version}.tbz";
|
||||
hash = "sha256-KVIRPFPLB+KwVLLchs5yk5Ex2rggfI8xOa2yPmTN+m8=";
|
||||
};
|
||||
|
||||
@@ -43,10 +43,10 @@ buildDunePackage rec {
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/ocaml-multicore/ocaml-${pname}";
|
||||
changelog = "https://github.com/ocaml-multicore/ocaml-${pname}/raw/v${version}/CHANGES.md";
|
||||
homepage = "https://github.com/ocaml-multicore/ocaml-domain-local-await";
|
||||
changelog = "https://github.com/ocaml-multicore/ocaml-domain-local-await/raw/v${finalAttrs.version}/CHANGES.md";
|
||||
description = "Scheduler independent blocking mechanism";
|
||||
license = with lib.licenses; [ isc ];
|
||||
maintainers = with lib.maintainers; [ toastal ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user