diff options
author | Bruno Bzeznik <Bruno.Bzeznik@imag.fr> | 2019-06-14 16:31:39 +0200 |
---|---|---|
committer | Bruno Bzeznik <Bruno.Bzeznik@imag.fr> | 2019-06-14 16:31:39 +0200 |
commit | aafffb261429688e93a88269bdb03c0cbf884085 (patch) | |
tree | 729a7a8d60c23b3d6a252fa89a55d5c131b222e3 /pkgs/applications | |
parent | 93d1127734fb260e4e509ae30b11061b26d12870 (diff) |
trimal: init at 1.4.1
Diffstat (limited to 'pkgs/applications')
-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 ]; + }; +} |