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