btrbk: add mainProgram (#356350)
[NixPkgs.git] / pkgs / by-name / em / emboss / package.nix
blobef501c12f6b4f1e884d23f590f4aee0faca4d443
1 { lib, stdenv, fetchurl, readline, perl, libharu, libX11, libpng, libXt, zlib }:
3 stdenv.mkDerivation rec {
4   pname = "emboss";
5   version = "6.6.0";
7   src = fetchurl {
8     url = "ftp://emboss.open-bio.org/pub/EMBOSS/EMBOSS-${version}.tar.gz";
9     sha256 = "7184a763d39ad96bb598bfd531628a34aa53e474db9e7cac4416c2a40ab10c6e";
10   };
12   buildInputs = [ readline perl libharu libpng libX11 libXt zlib ];
14   configureFlags = [ "--with-hpdf=${libharu}" "--with-pngdriver=${zlib}" ];
16   postConfigure = ''
17     sed -i 's@$(bindir)/embossupdate@true@' Makefile
18   '';
20   meta = {
21     description = "European Molecular Biology Open Software Suite";
22     longDescription = ''
23       EMBOSS is a free Open Source software analysis package
24       specially developed for the needs of the molecular biology (e.g. EMBnet)
25       user community, including libraries. The software automatically copes with
26       data in a variety of formats and even allows transparent retrieval of
27       sequence data from the web.
28     '';
29     license = lib.licenses.gpl2;
30     homepage = "https://emboss.sourceforge.net/";
31   };