2022-11-27 09:42:12 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2022-11-27 09:42:12 +00:00
|
|
|
name = "muscle";
|
|
|
|
version = "5.1.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
|
2022-11-27 09:42:12 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rcedgar";
|
|
|
|
repo = "${name}";
|
|
|
|
rev = "${version}";
|
|
|
|
hash = "sha256-NpnJziZXga/T5OavUt3nQ5np8kJ9CFcSmwyg4m6IJsk=";
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-11-27 09:42:12 +00:00
|
|
|
sourceRoot = "source/src";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
2022-11-27 09:42:12 +00:00
|
|
|
install -m755 -D Linux/muscle $out/bin/muscle
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2022-11-27 09:42:12 +00:00
|
|
|
description = "Multiple sequence alignment with top benchmark scores scalable to thousands of sequences";
|
|
|
|
license = licenses.gpl3Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://www.drive5.com/muscle/";
|
2022-11-27 09:42:12 +00:00
|
|
|
maintainers = with maintainers; [ unode thyol ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|