ocamlPackages.integers_stubs_js: migrate to finalAttrs
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
zarith_stubs_js ? null,
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
buildDunePackage (finalAttrs: {
|
||||
pname = "integers_stubs_js";
|
||||
version = "1.0";
|
||||
|
||||
@@ -14,8 +14,8 @@ buildDunePackage rec {
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "o1-labs";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
repo = "integers_stubs_js";
|
||||
rev = finalAttrs.version;
|
||||
sha256 = "sha256-lg5cX9/LQlVmR42XcI17b6KaatnFO2L9A9ZXfID8mTY=";
|
||||
};
|
||||
|
||||
@@ -26,6 +26,6 @@ buildDunePackage rec {
|
||||
description = "Javascript stubs for the integers library in js_of_ocaml";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ bezmuth ];
|
||||
inherit (src.meta) homepage;
|
||||
inherit (finalAttrs.src.meta) homepage;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user