1{
2 lib,
3 stdenv,
4 fetchurl,
5 readline,
6 perl,
7 libharu,
8 libX11,
9 libpng,
10 libXt,
11 zlib,
12}:
13
14stdenv.mkDerivation rec {
15 pname = "emboss";
16 version = "6.6.0";
17
18 src = fetchurl {
19 url = "ftp://emboss.open-bio.org/pub/EMBOSS/EMBOSS-${version}.tar.gz";
20 sha256 = "7184a763d39ad96bb598bfd531628a34aa53e474db9e7cac4416c2a40ab10c6e";
21 };
22
23 buildInputs = [
24 readline
25 perl
26 libharu
27 libpng
28 libX11
29 libXt
30 zlib
31 ];
32
33 configureFlags = [
34 "--with-hpdf=${libharu}"
35 "--with-pngdriver=${zlib}"
36 ];
37
38 postConfigure = ''
39 sed -i 's@$(bindir)/embossupdate@true@' Makefile
40 '';
41
42 meta = {
43 description = "European Molecular Biology Open Software Suite";
44 longDescription = ''
45 EMBOSS is a free Open Source software analysis package
46 specially developed for the needs of the molecular biology (e.g. EMBnet)
47 user community, including libraries. The software automatically copes with
48 data in a variety of formats and even allows transparent retrieval of
49 sequence data from the web.
50 '';
51 license = lib.licenses.gpl2;
52 homepage = "https://emboss.sourceforge.net/";
53 };
54}