mrbayes: modernize
This commit is contained in:
parent
8c90a87418
commit
108ad942fb
2 changed files with 12 additions and 20 deletions
|
@ -1,9 +0,0 @@
|
|||
# builder for mrbayes - note: only builds on Unix
|
||||
|
||||
source $stdenv/setup
|
||||
|
||||
tar xvfz $src
|
||||
cd mrbayes-*
|
||||
make
|
||||
mkdir -p $out/bin
|
||||
cp -v mb $out/bin
|
|
@ -1,18 +1,18 @@
|
|||
{lib, stdenv, fetchurl, readline}:
|
||||
{ lib, stdenv, fetchFromGitHub, readline }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
# FIXME: replace Makefile so we can build MPI & MAC support
|
||||
pname = "mrbayes";
|
||||
version = "3.2.7";
|
||||
|
||||
name = "mrbayes-3.1.2";
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/mrbayes/${name}.tar.gz";
|
||||
sha256 = "1x7j8ca5wjrqrxmcpvd375ydm3s2pbkzykv8xfhg1jc037g560n6";
|
||||
src = fetchFromGitHub {
|
||||
owner = "NBISweden";
|
||||
repo = "MrBayes";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-J0r4CxxQuZ3exvfCMRbLmyEd8ROaXNQG4afwiAs6H+M=";
|
||||
};
|
||||
builder = ./builder.sh;
|
||||
buildInputs = [readline];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Bayesian Inference of Phylogeny";
|
||||
description = "Bayesian Inference of Phylogeny";
|
||||
longDescription = ''
|
||||
Bayesian inference of phylogeny is based upon a
|
||||
quantity called the posterior probability distribution of trees, which is
|
||||
|
@ -22,8 +22,9 @@ stdenv.mkDerivation rec {
|
|||
MrBayes uses a simulation technique called Markov chain Monte Carlo (or
|
||||
MCMC) to approximate the posterior probabilities of trees.
|
||||
'';
|
||||
license = licenses.gpl2;
|
||||
homepage = "http://mrbayes.csit.fsu.edu/";
|
||||
maintainers = with maintainers; [ ];
|
||||
license = licenses.gpl2Plus;
|
||||
homepage = "https://nbisweden.github.io/MrBayes/";
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue