ocamlPackages.inotify: migrate to finalAttrs

This commit is contained in:
Guy Chronister
2026-01-22 10:13:56 -06:00
parent 7444847526
commit 5710219cbc
@@ -7,14 +7,14 @@
fileutils, # only for tests
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
version = "2.6";
pname = "inotify";
src = fetchFromGitHub {
owner = "whitequark";
repo = "ocaml-inotify";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-Vg9uVIx6/OMS1WoJIHwZbSt5ZyFy+Xgw5167FJWGslg=";
};
@@ -31,7 +31,7 @@ buildDunePackage rec {
description = "Bindings for Linuxs filesystem monitoring interface, inotify";
license = lib.licenses.lgpl21;
maintainers = [ lib.maintainers.vbgl ];
inherit (src.meta) homepage;
inherit (finalAttrs.src.meta) homepage;
platforms = lib.platforms.linux;
};
}
})