depot/third_party/nixpkgs/pkgs/applications/science/biology/trimal/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

31 lines
781 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "trimal";
version = "1.5.0";
src = fetchFromGitHub {
repo = pname;
owner = "scapella";
rev = "v${version}";
sha256 = "sha256-6GXirih7nY0eD2XS8aplLcYf53EeLuae+ewdUgBiKQQ=";
};
postUnpack = ''
sourceRoot=''${sourceRoot}/source
echo Source root reset to ''${sourceRoot}
'';
installPhase = ''
mkdir -p $out/bin
cp -a trimal readal statal $out/bin
'';
meta = with lib; {
description = "Tool for the automated removal of spurious sequences or poorly aligned regions from a multiple sequence alignment";
license = licenses.gpl3;
platforms = platforms.linux;
homepage = "http://trimal.cgenomics.org";
maintainers = [ maintainers.bzizou ];
};
}