2021-01-24 01:40:18 +01:00
|
|
|
{ lib, gccStdenv, fetchurl, zlib, mpi }:
|
2019-03-29 08:58:20 +01:00
|
|
|
|
|
|
|
gccStdenv.mkDerivation rec {
|
|
|
|
version = "3.7.2";
|
|
|
|
pname = "migrate";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://peterbeerli.com/migrate-html5/download_version3/${pname}-${version}.src.tar.gz";
|
|
|
|
sha256 = "1p2364ffjc56i82snzvjpy6pkf6wvqwvlvlqxliscx2c303fxs8v";
|
|
|
|
};
|
|
|
|
|
2021-01-10 13:40:19 +01:00
|
|
|
buildInputs = [ zlib mpi ];
|
2021-01-24 10:19:10 +01:00
|
|
|
setSourceRoot = "sourceRoot=$(echo */src)";
|
2019-03-29 08:58:20 +01:00
|
|
|
buildFlags = [ "thread" "mpis" ];
|
|
|
|
preInstall = "mkdir -p $out/man/man1";
|
|
|
|
|
2021-01-24 01:40:18 +01:00
|
|
|
meta = with lib; {
|
2019-03-29 08:58:20 +01:00
|
|
|
description = "Estimates population size, migration, population splitting parameters using genetic/genomic data";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://peterbeerli.com/migrate-html5/index.html";
|
2019-03-29 08:58:20 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.bzizou ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|