paml: 4.10.7 -> 4.10.10 (#553522)

This commit is contained in:
Peder Bergebakken Sundt
2026-08-24 21:21:23 +00:00
committed by GitHub
2 changed files with 3 additions and 19 deletions

View File

@@ -1,11 +0,0 @@
--- a/src/mcmctree.c
+++ b/src/mcmctree.c
@@ -42,7 +42,7 @@ extern double PjumpOptimum;
int GetOptions(char *ctlf);
int ReadTreeSeqs(FILE*fout);
-int ProcessNodeAnnotation();
+int ProcessNodeAnnotation(int* haslabel);
int ReadBlengthGH(char infile[]);
int GenerateBlengthGH(char infile[]);
int GetMem(void);

View File

@@ -6,20 +6,15 @@
stdenv.mkDerivation (finalAttrs: {
pname = "paml";
version = "4.10.7";
version = "4.10.10";
src = fetchFromGitHub {
owner = "abacus-gene";
repo = "paml";
tag = finalAttrs.version;
hash = "sha256-P/oHaLxoQzjFuvmHyRdShHv1ayruy6O/I9w8aTyya2s=";
tag = "v${finalAttrs.version}";
hash = "sha256-e93ldPcYpxtgei9+qPNxmhHkwwjpbywkQJklx+dsONM=";
};
patches = [
# https://github.com/abacus-gene/paml/pull/78
./fix-ProcessNodeAnnotation-declaration.patch
];
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-D_POSIX_C_SOURCE";
preBuild = ''