summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/science
diff options
context:
space:
mode:
authorPjotr Prins <pjotr.public01@thebird.nl>2008-06-05 17:14:33 +0000
committerPjotr Prins <pjotr.public01@thebird.nl>2008-06-05 17:14:33 +0000
commit62c917620641d54f5313d7be8c6251c00574fa04 (patch)
tree50f13116d765be64e6e4044d899a5d180dfc6941 /pkgs/applications/science
parent5866a8b101aa979890fcdbc5691ecd277a12220b (diff)
Added emboss
svn path=/nixpkgs/trunk/; revision=11993
Diffstat (limited to 'pkgs/applications/science')
-rw-r--r--pkgs/applications/science/biology/emboss/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/applications/science/biology/emboss/default.nix b/pkgs/applications/science/biology/emboss/default.nix
new file mode 100644
index 000000000000..427eb0a432ec
--- /dev/null
+++ b/pkgs/applications/science/biology/emboss/default.nix
@@ -0,0 +1,30 @@
+{stdenv, fetchurl, readline, perl, libX11, libpng, libXt, zlib}:
+
+stdenv.mkDerivation {
+ name = "emboss-5.0.0-9";
+ src = fetchurl {
+ url = ftp://emboss.open-bio.org/pub/EMBOSS/EMBOSS-5.0.0.tar.gz;
+ sha256 = "1bj0bxfj97cgnk3w3123cqn5sq5xsbvzs8bzvqkgy6d7hadz1rk4";
+ };
+ patch = fetchurl {
+ url = ftp://emboss.open-bio.org/pub/EMBOSS/fixes/patches/patch-1-9.gz;
+ sha256 = "1pfn5zdxrr71c3kwpdkzmmsqvdwkmynkvcr707vqh73h9cjhk3c1";
+ };
+
+ buildInputs = [readline perl libpng libX11 libXt zlib];
+
+ preConfigure = ''
+ gzip -d $patch | patch -p1
+ '';
+
+ meta = {
+ description = "EMBOSS is 'The European Molecular Biology Open Software Suite'";
+ longDescription = ''EMBOSS is a free Open Source software analysis package
+ specially developed for the needs of the molecular biology (e.g. EMBnet)
+ user community. The software automatically copes with data in a variety of
+ formats and even allows transparent retrieval of sequence data from the
+ web.'';
+ license = "GPL2";
+ homepage = http://emboss.sourceforge.net/;
+ };
+}