2008-06-06 21:42:00 +02:00
|
|
|
{stdenv, fetchurl, cpio}:
|
|
|
|
|
2009-02-16 17:38:55 +01:00
|
|
|
# Note: you may want the older C-libs at ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools++/2008/Mar_17_2008/NCBI_C_Toolkit/ncbi_c--Mar_17_2008.tar.gz
|
2008-06-06 21:42:00 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2009-02-16 17:38:55 +01:00
|
|
|
name = "ncbi_tools";
|
|
|
|
ncbi_version="Dec_31_2008";
|
2008-06-06 21:42:00 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools++/2008/${ncbi_version}/ncbi_cxx--${ncbi_version}.tar.gz";
|
2009-02-16 17:38:55 +01:00
|
|
|
sha256 = "1b2v0dcdqn3bysgdkj57sxmd6s0hc9wpnxssviz399g6plhxggbr";
|
2008-06-06 21:42:00 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = "--without-debug --with-bin-release --with-dll --without-static";
|
2009-02-16 17:38:55 +01:00
|
|
|
# PIC flag (position independent code for shared libraries)
|
|
|
|
NIX_CXXFLAGS_COMPILE = if stdenv.system == "x86_64-linux" then "-fPIC" else "";
|
2008-06-06 21:42:00 +02:00
|
|
|
buildInputs = [cpio];
|
|
|
|
|
|
|
|
meta = {
|
2009-02-16 17:38:55 +01:00
|
|
|
description = ''NCBI Bioinformatics toolbox (incl. BLAST)'';
|
|
|
|
longDescription = ''The NCBI Bioinformatics toolsbox, including command-line utilties, libraries and include files. No X11 support'';
|
2008-06-06 21:42:00 +02:00
|
|
|
homepage = http://www.ncbi.nlm.nih.gov/IEB/ToolBox/;
|
|
|
|
license = "GPL";
|
2008-10-05 10:42:40 +02:00
|
|
|
priority = "5"; # zlib.so gives a conflict with zlib
|
2008-06-06 21:42:00 +02:00
|
|
|
};
|
|
|
|
}
|