c7e6337bd0
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
29 lines
691 B
Nix
29 lines
691 B
Nix
{ lib, stdenv, fetchFromGitLab }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mafft";
|
|
version = "7.520";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "sysimm";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-H+EcKahJWwidAx+IUT4uCZEty+S8hUeMSB8VbTu5SmQ=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|