depot/third_party/nixpkgs/pkgs/applications/science/biology/clustal-omega/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

32 lines
840 B
Nix

{ stdenv, fetchurl, argtable }:
stdenv.mkDerivation rec {
version = "1.2.4";
pname = "clustal-omega";
src = fetchurl {
url = "http://www.clustal.org/omega/${pname}-${version}.tar.gz";
sha256 = "1vm30mzncwdv881vrcwg11vzvrsmwy4wg80j5i0lcfk6dlld50w6";
};
buildInputs = [ argtable ];
preConfigure = ''
for f in configure \
src/clustal-omega-config.h \
src/clustal-omega-config.h \
src/config.h.in \
src/mymain.c
do
sed -i -re 's/argtable2/argtable3/g' $f
done
'';
meta = with stdenv.lib; {
description = "General purpose multiple sequence alignment program for protein and DNA/RNA";
homepage = "http://www.clustal.org/omega/";
license = licenses.gpl2;
maintainers = [ maintainers.bzizou ];
platforms = platforms.unix;
};
}