nixpkgs/pkgs/applications/science/biology/muscle/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

29 lines
684 B
Nix

{ 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 = "${src.name}/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";
mainProgram = "muscle";
license = licenses.gpl3Plus;
homepage = "https://www.drive5.com/muscle/";
maintainers = with maintainers; [ unode thyol ];
};
}