2024-05-15 15:35:15 +00:00
|
|
|
{
|
|
|
|
stdenv,
|
|
|
|
lib,
|
|
|
|
fetchurl,
|
|
|
|
zlib,
|
|
|
|
mpi,
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
version = "5.0.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "migrate";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2024-05-15 15:35:15 +00:00
|
|
|
url = "https://peterbeerli.com/migrate-html5/download_version4/${finalAttrs.pname}-${finalAttrs.version}.src.tar.gz";
|
|
|
|
hash = "sha256-twkoR9L6VPUye12OC0B5w0PxcxyKain6RkhCswLEdwg=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
sourceRoot = "migrate-${finalAttrs.version}/src";
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
zlib
|
|
|
|
mpi
|
|
|
|
];
|
|
|
|
|
|
|
|
buildFlags = [
|
|
|
|
"thread"
|
|
|
|
"mpis"
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2022-06-16 17:23:12 +00:00
|
|
|
broken = stdenv.isDarwin;
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Estimates population size, migration, population splitting parameters using genetic/genomic data";
|
|
|
|
homepage = "https://peterbeerli.com/migrate-html5/index.html";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.bzizou ];
|
|
|
|
platforms = platforms.unix;
|
2024-05-15 15:35:15 +00:00
|
|
|
mainProgram = "migrate-n";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2024-05-15 15:35:15 +00:00
|
|
|
})
|