2022-09-09 14:08:57 +00:00
|
|
|
{ lib, stdenv, fetchFromGitLab }:
|
2022-07-18 16:21:45 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mafft";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "7.525";
|
2022-07-18 16:21:45 +00:00
|
|
|
|
2022-09-09 14:08:57 +00:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "sysimm";
|
|
|
|
repo = pname;
|
2023-03-24 00:07:29 +00:00
|
|
|
rev = "v${version}";
|
2024-04-21 15:54:59 +00:00
|
|
|
sha256 = "sha256-ckBmvFssYAmYcBHAEftjQqBV0MB0theGfemaPx3XUws=";
|
2022-07-18 16:21:45 +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;
|
|
|
|
};
|
|
|
|
}
|