ocamlPackages.phylogenetics: migrate to finalAttrs

This commit is contained in:
Guy Chronister
2026-05-12 13:28:33 -05:00
parent 0c9a9d280b
commit 374e7c1093
@@ -14,12 +14,12 @@
printbox-text,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "phylogenetics";
version = "0.3.0";
src = fetchurl {
url = "https://github.com/biocaml/phylogenetics/releases/download/v${version}/phylogenetics-${version}.tbz";
url = "https://github.com/biocaml/phylogenetics/releases/download/v${finalAttrs.version}/phylogenetics-${finalAttrs.version}.tbz";
hash = "sha256-3oZ9fMAXqOQ02rQ+8W8PZJWXOJLNe2qERrGOeTk3BKg=";
};
@@ -52,4 +52,4 @@ buildDunePackage rec {
maintainers = [ lib.maintainers.bcdarwin ];
mainProgram = "phylosim";
};
}
})