Skip to content

Commit

Permalink
emboss: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
globin committed Mar 13, 2017
1 parent dbbdccd commit e2a13af
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions pkgs/applications/science/biology/emboss/default.nix
@@ -1,21 +1,19 @@
{stdenv, fetchurl, readline, perl, libX11, libpng, libXt, zlib}:
{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";
};
# 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];
buildInputs = [ readline perl libharu libpng libX11 libXt zlib ];

# preConfigure = ''
# gzip -d $patch | patch -p1
# '';
configureFlags = [ "--with-hpdf=${libharu}" "--with-pngdriver=${zlib}" ];

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

meta = {
description = "The European Molecular Biology Open Software Suite";
Expand Down

0 comments on commit e2a13af

Please sign in to comment.