about summary refs log tree commit diff
path: root/pkgs/applications/science/biology/ncbi-tools/default.nix
blob: 78a2d683f2a56b9c8f3a1aecbfea0e8f2098fbed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{stdenv, fetchurl, cpio}:

# Note: may need the 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 (or split out?)

stdenv.mkDerivation rec {
  name = "ncbi_cxx";
  ncbi_version = "Mar_17_2008";
  src = fetchurl {
    url = "ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools++/2008/${ncbi_version}/ncbi_cxx--${ncbi_version}.tar.gz";
    sha256 = "0mxbmz6gndallz8l5jdslq6illa3hgf31xi2yb984mqm9in485as";
  };

  configureFlags = "--without-debug --with-bin-release --with-dll --without-static";
  buildInputs = [cpio];

  meta = {
    description = ''NCBI Bioinformatics toolbox'';
    homepage = http://www.ncbi.nlm.nih.gov/IEB/ToolBox/; 
    license = "GPL";
  };
}