571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
33 lines
1.1 KiB
Nix
33 lines
1.1 KiB
Nix
{ 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";
|
|
sha256 = "7184a763d39ad96bb598bfd531628a34aa53e474db9e7cac4416c2a40ab10c6e";
|
|
};
|
|
|
|
buildInputs = [ readline perl libharu libpng libX11 libXt zlib ];
|
|
|
|
configureFlags = [ "--with-hpdf=${libharu}" "--with-pngdriver=${zlib}" ];
|
|
|
|
postConfigure = ''
|
|
sed -i 's@$(bindir)/embossupdate@true@' Makefile
|
|
'';
|
|
|
|
meta = {
|
|
description = "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
|
|
sequence data from the web.
|
|
'';
|
|
license = lib.licenses.gpl2;
|
|
homepage = "https://emboss.sourceforge.net/";
|
|
};
|
|
}
|