emboss: fix build

This commit is contained in:
Robin Gloster 2017-03-13 13:15:51 +01:00
parent dbbdccdd65
commit e2a13af49c
No known key found for this signature in database
GPG Key ID: 5E4C836C632C2882

View File

@ -1,4 +1,4 @@
{stdenv, fetchurl, readline, perl, libX11, libpng, libXt, zlib}:
{stdenv, fetchurl, readline, perl, libharu, libX11, libpng, libXt, zlib}:
stdenv.mkDerivation {
name = "emboss-6.6.0";
@ -6,16 +6,14 @@ stdenv.mkDerivation {
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";