ocamlPackages.npy: migrate to finalAttrs

This commit is contained in:
Guy Chronister
2026-05-12 13:28:22 -05:00
parent e4937dd1d4
commit 06e78b9b16
@@ -6,7 +6,7 @@
camlzip,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "npy";
version = "0.0.9";
@@ -16,8 +16,8 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "LaurentMazare";
repo = "${pname}-ocaml";
rev = version;
repo = "npy-ocaml";
rev = finalAttrs.version;
hash = "sha256:1fryglkm20h6kdqjl55b7065b34bdg3g3p6j0jv33zvd1m5888m1";
};
@@ -27,9 +27,9 @@ buildDunePackage rec {
doCheck = true;
meta = {
inherit (src.meta) homepage;
inherit (finalAttrs.src.meta) homepage;
description = "OCaml implementation of the Npy format spec";
maintainers = [ lib.maintainers.bcdarwin ];
license = lib.licenses.asl20;
};
}
})