mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
emboss: fix build
This commit is contained in:
parent
dbbdccdd65
commit
e2a13af49c
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user