nixpkgs/pkgs/applications/science/biology/paml/default.nix
R. RyanTM ef01f17c2d paml: 4.9g -> 4.9h
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/paml/versions.

These checks were done:

- built on NixOS
- ran ‘/nix/store/39cfy96430yznv6h3cg7zd8850i6kdl1-paml-4.9h/bin/chi2 -h’ got 0 exit code
- ran ‘/nix/store/39cfy96430yznv6h3cg7zd8850i6kdl1-paml-4.9h/bin/chi2 --help’ got 0 exit code
- ran ‘/nix/store/39cfy96430yznv6h3cg7zd8850i6kdl1-paml-4.9h/bin/chi2 help’ got 0 exit code
- found 4.9h with grep in /nix/store/39cfy96430yznv6h3cg7zd8850i6kdl1-paml-4.9h
- directory tree listing: https://gist.github.com/b2a37e7cd2b4b41178f0698f3aac69e2
2018-05-03 15:13:15 +02:00

34 lines
1.3 KiB
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation rec {
version = "4.9h";
name = "paml-${version}";
src = fetchurl {
url = "http://abacus.gene.ucl.ac.uk/software/paml${version}.tgz";
sha256 = "1czdfb3naadq0d3y42isrbyja33c3p28k8dv9mxlx2h19b7zcfv2";
};
preBuild = ''
cd ./src/
'';
installPhase = ''
mkdir -pv $out/bin
cp -v codeml $out/bin
cp -v baseml $out/bin
cp -v basemlg $out/bin
cp -v chi2 $out/bin
cp -v codeml $out/bin
cp -v evolver $out/bin
cp -v mcmctree $out/bin
cp -v pamp $out/bin
cp -v yn00 $out/bin
'';
meta = {
description = "Phylogenetic Analysis by Maximum Likelihood (PAML)";
longDescription = ''PAML is a package of programs for phylogenetic analyses of DNA or protein sequences using maximum likelihood. It is maintained and distributed for academic use free of charge by Ziheng Yang. ANSI C source codes are distributed for UNIX/Linux/Mac OSX, and executables are provided for MS Windows. PAML is not good for tree making. It may be used to estimate parameters and test hypotheses to study the evolutionary process, when you have reconstructed trees using other programs such as PAUP*, PHYLIP, MOLPHY, PhyML, RaxML, etc.'';
license = "non-commercial";
homepage = http://abacus.gene.ucl.ac.uk/software/paml.html;
};
}