nixpkgs/pkgs/applications/science/biology/muscle/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
684 B
Nix
Raw Normal View History

2022-11-22 19:00:14 +00:00
{ lib, stdenv, fetchFromGitHub }:
2018-01-27 16:14:39 +00:00
stdenv.mkDerivation rec {
2023-01-28 04:20:00 +00:00
pname = "muscle";
2022-11-22 19:00:14 +00:00
version = "5.1.0";
2018-01-27 16:14:39 +00:00
2022-11-22 19:00:14 +00:00
src = fetchFromGitHub {
owner = "rcedgar";
2023-01-28 04:20:00 +00:00
repo = pname;
rev = version;
2022-11-22 19:00:14 +00:00
hash = "sha256-NpnJziZXga/T5OavUt3nQ5np8kJ9CFcSmwyg4m6IJsk=";
};
2018-01-27 16:14:39 +00:00
sourceRoot = "${src.name}/src";
2018-01-27 16:14:39 +00:00
installPhase = ''
2022-11-22 19:00:14 +00:00
install -m755 -D Linux/muscle $out/bin/muscle
2018-01-27 16:14:39 +00:00
'';
meta = with lib; {
2022-11-22 19:00:14 +00:00
description = "Multiple sequence alignment with top benchmark scores scalable to thousands of sequences";
mainProgram = "muscle";
2022-11-22 19:00:14 +00:00
license = licenses.gpl3Plus;
homepage = "https://www.drive5.com/muscle/";
2022-11-22 19:08:46 +00:00
maintainers = with maintainers; [ unode thyol ];
2018-01-27 16:14:39 +00:00
};
}