3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/science/biology/emboss/default.nix

31 lines
1 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, readline, perl, libharu, libX11, libpng, libXt, zlib }:
stdenv.mkDerivation rec {
pname = "emboss";
version = "6.6.0";
src = fetchurl {
url = "ftp://emboss.open-bio.org/pub/EMBOSS/EMBOSS-${version}.tar.gz";
2017-02-05 00:05:48 +00:00
sha256 = "7184a763d39ad96bb598bfd531628a34aa53e474db9e7cac4416c2a40ab10c6e";
};
2017-03-13 12:15:51 +00:00
buildInputs = [ readline perl libharu libpng libX11 libXt zlib ];
2017-03-13 12:15:51 +00:00
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
2020-06-26 10:05:24 +01:00
sequence data from the web.'';
license = lib.licenses.gpl2;
homepage = "http://emboss.sourceforge.net/";
};
}