587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
29 lines
691 B
Nix
29 lines
691 B
Nix
{ lib, stdenv, fetchFromGitLab }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mafft";
|
|
version = "7.525";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "sysimm";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-ckBmvFssYAmYcBHAEftjQqBV0MB0theGfemaPx3XUws=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|