2022-09-09 04:26:38 +00:00
|
|
|
{ lib, stdenv, fetchFromGitLab }:
|
2021-09-17 09:08:25 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mafft";
|
2022-09-09 04:26:38 +00:00
|
|
|
version = "7.508";
|
2021-09-17 09:08:25 +00:00
|
|
|
|
2022-09-09 04:26:38 +00:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "sysimm";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-XQllmTgLntCBUFJzV2HL4f4oMilcUVTRgcfeZBdD5c0=";
|
2021-09-17 09:08:25 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
cd ./core
|
|
|
|
make clean
|
|
|
|
'';
|
|
|
|
|
|
|
|
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
meta = with lib;
|
|
|
|
{
|
|
|
|
description = "Multiple alignment program for amino acid or nucleotide sequences";
|
|
|
|
homepage = "https://mafft.cbrc.jp/alignment/software/";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ natsukium ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|