diff options
author | Pjotr Prins <pjotr.public01@thebird.nl> | 2008-10-05 09:00:19 +0000 |
---|---|---|
committer | Pjotr Prins <pjotr.public01@thebird.nl> | 2008-10-05 09:00:19 +0000 |
commit | 034f28e268d49d0b49de9d13ce90fcfe247d81d0 (patch) | |
tree | a96781898ca1131812e839d6217d679d6979124e /pkgs/applications/science | |
parent | cb546965bc1435653bbf71f52b1b9973b0cc79be (diff) |
Biology package
svn path=/nixpkgs/trunk/; revision=12953
Diffstat (limited to 'pkgs/applications/science')
-rw-r--r-- | pkgs/applications/science/biology/slr/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/applications/science/biology/slr/default.nix b/pkgs/applications/science/biology/slr/default.nix new file mode 100644 index 000000000000..981cf2a67031 --- /dev/null +++ b/pkgs/applications/science/biology/slr/default.nix @@ -0,0 +1,29 @@ +{stdenv, fetchurl, liblapack}: + +stdenv.mkDerivation { + name = "slr"; + src = fetchurl { + url = http://www.ebi.ac.uk/goldman-srv/SLR/download/current/slr_source.tgz; + sha256 = "0i81fv201p187mim4zakipxnhzqdvd3p5a9qa59xznc6458r2zsn"; + }; + + buildInputs = [ liblapack ]; + buildPhase = '' + cd src + ls + make -fMakefile.linux + ''; + installPhase = '' + ensureDir $out/bin + cp -v ../Slr $out/bin + ''; + + meta = { + description = "Phylogenetic Analysis by Maximum Likelihood (PAML)"; + longDescription = '' +SLR is a program to detect sites in coding DNA that are unusually conserved and/or unusually variable (that is, evolving under purify or positive selection) by analysing the pattern of changes for an alignment of sequences on an evolutionary tree. +''; + license = "GPL3"; + homepage = http://www.ebi.ac.uk/goldman/SLR/; + }; +} |