mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 10:50:15 +00:00
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
40 lines
862 B
Nix
40 lines
862 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 = {
|
|
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 = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.bzizou ];
|
|
platforms = lib.platforms.unix;
|
|
mainProgram = "migrate-n";
|
|
};
|
|
})
|