summary refs log blame commit diff
path: root/pkgs/applications/science/biology/muscle/default.nix
blob: 7696acefd7b264cc2bb71a584a41a804a9a4a83b (plain) (tree)
1
2
3
4
5
6
7
8
9
                                 

                         
                     
                    
 
 

                         
                 
                  

                                                                 
 
                            

                   
                                                 

     
                    

                                                                                                             
                                                   
                                                    

    
{ lib, stdenv, fetchFromGitHub }:

stdenv.mkDerivation rec {
  pname   = "muscle";
  version = "5.1.0";


  src = fetchFromGitHub {
    owner = "rcedgar";
    repo = pname;
    rev = version;
    hash = "sha256-NpnJziZXga/T5OavUt3nQ5np8kJ9CFcSmwyg4m6IJsk=";
  };

  sourceRoot = "source/src";

  installPhase = ''
    install -m755 -D Linux/muscle $out/bin/muscle
  '';

  meta = with lib; {
    description = "Multiple sequence alignment with top benchmark scores scalable to thousands of sequences";
    license     = licenses.gpl3Plus;
    homepage    = "https://www.drive5.com/muscle/";
    maintainers = with maintainers; [ unode thyol ];
  };
}