nixpkgs/pkgs/applications/science/biology/mafft/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
707 B
Nix
Raw Normal View History

2021-09-17 10:08:25 +01:00
{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "mafft";
2022-07-31 21:32:57 +01:00
version = "7.505";
2021-09-17 10:08:25 +01:00
src = fetchurl {
url = "https://mafft.cbrc.jp/alignment/software/mafft-${version}-with-extensions-src.tgz";
2022-07-31 21:32:57 +01:00
sha256 = "sha256-9Up4Zw/NmWAjO8w7PdNZ85WnHAztRae+HP6uGZUM5v8=";
2021-09-17 10:08:25 +01: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;
};
}