diff options
author | Lassulus <github@lassul.us> | 2019-08-31 13:04:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-31 13:04:41 +0200 |
commit | a8d26fc34a7ceb52d098e384f316b8e4b19651bb (patch) | |
tree | efb667a27a5f3263b887003c7007a60c333aec88 /pkgs/applications/science/biology/trimal | |
parent | e91643945324b7c8d4328f7923216f130c245216 (diff) | |
parent | aafffb261429688e93a88269bdb03c0cbf884085 (diff) |
Merge pull request #63127 from bzizou/trimal
trimal: init at 1.4.1
Diffstat (limited to 'pkgs/applications/science/biology/trimal')
-rwxr-xr-x | pkgs/applications/science/biology/trimal/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/science/biology/trimal/default.nix b/pkgs/applications/science/biology/trimal/default.nix new file mode 100755 index 0000000000000..d4e8fee7bc364 --- /dev/null +++ b/pkgs/applications/science/biology/trimal/default.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + pname = "trimal"; + version = "1.4.1"; + + src = fetchFromGitHub { + repo = pname; + owner = "scapella"; + rev = "v${version}"; + sha256 = "0isc7s3514di4z953xq53ncjkbi650sh4q9yyw5aag1n9hqnh7k0"; + }; + + postUnpack = '' + sourceRoot=''${sourceRoot}/source + echo Source root reset to ''${sourceRoot} + ''; + + installPhase = '' + mkdir -p $out/bin + cp -a trimal readal statal $out/bin + ''; + + meta = with stdenv.lib; { + description = "A 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 ]; + }; +} |