ocamlPackages.qtest: migrate to finalAttrs
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user