depot/third_party/nixpkgs/pkgs/applications/science/biology/migrate/default.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

39 lines
860 B
Nix

{
stdenv,
lib,
fetchurl,
zlib,
mpi,
}:
stdenv.mkDerivation (finalAttrs: {
version = "5.0.6";
pname = "migrate";
src = fetchurl {
url = "https://peterbeerli.com/migrate-html5/download_version4/migrate-${finalAttrs.version}.src.tar.gz";
hash = "sha256-twkoR9L6VPUye12OC0B5w0PxcxyKain6RkhCswLEdwg=";
};
sourceRoot = "migrate-${finalAttrs.version}/src";
buildInputs = [
zlib
mpi
];
buildFlags = [
"thread"
"mpis"
];
meta = with lib; {
broken = stdenv.hostPlatform.isDarwin;
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;
mainProgram = "migrate-n";
};
})