aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/applications/science/biology/emboss/default.nix
blob: e2374bcd1e2f8ffeb1edf92d07737c9fe9f67bf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{stdenv, fetchurl, readline, perl, libharu, libX11, libpng, libXt, zlib}:

stdenv.mkDerivation {
  name = "emboss-6.6.0";
  src = fetchurl {
    url = "ftp://emboss.open-bio.org/pub/EMBOSS/EMBOSS-6.6.0.tar.gz";
    sha256 = "7184a763d39ad96bb598bfd531628a34aa53e474db9e7cac4416c2a40ab10c6e";
  };

  buildInputs = [ readline perl libharu libpng libX11 libXt zlib ];

  configureFlags = [ "--with-hpdf=${libharu}" "--with-pngdriver=${zlib}" ];

  postConfigure = ''
    sed -i 's@$(bindir)/embossupdate@true@' Makefile
  '';

  meta = {
    description     = "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, including libraries. 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/";
  };
}