Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
36 lines
791 B
Nix
36 lines
791 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "trimal";
|
|
version = "1.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
repo = "trimal";
|
|
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 ];
|
|
};
|
|
}
|