ocamlPackages.qtest: migrate to finalAttrs

This commit is contained in:
Guy Chronister
2026-01-22 12:09:13 -06:00
parent 5947e1c9a6
commit a9fe8e7159
@@ -5,14 +5,14 @@
qcheck,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "qtest";
version = "2.11.2";
src = fetchFromGitHub {
owner = "vincent-hugot";
repo = pname;
rev = "v${version}";
repo = "qtest";
rev = "v${finalAttrs.version}";
sha256 = "sha256-VLY8+Nu6md0szW4RVxTFwlSQ9kyrgUqf7wQEA6GW8BE=";
};
@@ -27,8 +27,8 @@ buildDunePackage rec {
meta = {
description = "Inline (Unit) Tests for OCaml";
mainProgram = "qtest";
inherit (src.meta) homepage;
inherit (finalAttrs.src.meta) homepage;
maintainers = with lib.maintainers; [ vbgl ];
license = lib.licenses.gpl3;
};
}
})