nixpkgs/pkgs/by-name/tr/trimal/package.nix

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

32 lines
781 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub }:
2019-06-14 14:31:39 +00:00
stdenv.mkDerivation rec {
pname = "trimal";
2024-07-02 19:20:38 +00:00
version = "1.5.0";
2019-06-14 14:31:39 +00:00
src = fetchFromGitHub {
repo = pname;
owner = "scapella";
rev = "v${version}";
2024-07-02 19:20:38 +00:00
sha256 = "sha256-6GXirih7nY0eD2XS8aplLcYf53EeLuae+ewdUgBiKQQ=";
2019-06-14 14:31:39 +00:00
};
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; {
2019-06-14 14:31:39 +00:00
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";
2019-06-14 14:31:39 +00:00
maintainers = [ maintainers.bzizou ];
};
}