summary refs log tree commit diff
path: root/pkgs/applications/science/biology/muscle/default.nix
blob: 7696acefd7b264cc2bb71a584a41a804a9a4a83b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ 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 ];
  };
}