nixpkgs/pkgs/by-name/mr/mrbayes/package.nix

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

32 lines
1.0 KiB
Nix
Raw Permalink Normal View History

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
2021-07-26 00:41:43 +01:00
pname = "mrbayes";
2021-07-27 13:30:23 +01:00
version = "3.2.7a";
2021-07-26 00:41:43 +01:00
src = fetchFromGitHub {
owner = "NBISweden";
repo = "MrBayes";
rev = "v${version}";
2021-07-27 13:30:23 +01:00
sha256 = "sha256-pkkxZ6YHRn/I1SJpT9A+EK4S5hWGmFdcDBJS0zh5mLA=";
};
meta = with lib; {
2021-07-26 00:41:43 +01:00
description = "Bayesian Inference of Phylogeny";
mainProgram = "mb";
longDescription = ''
Bayesian inference of phylogeny is based upon a
quantity called the posterior probability distribution of trees, which is
the probability of a tree conditioned on the observations. The conditioning
is accomplished using Bayes's theorem. The posterior probability
distribution of trees is impossible to calculate analytically; instead,
MrBayes uses a simulation technique called Markov chain Monte Carlo (or
MCMC) to approximate the posterior probabilities of trees.
'';
maintainers = [ ];
2021-07-26 00:41:43 +01:00
license = licenses.gpl2Plus;
homepage = "https://nbisweden.github.io/MrBayes/";
2020-06-26 10:06:35 +01:00
platforms = platforms.linux;
};
}