nixpkgs/pkgs/applications/science/biology/clustal-omega/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
868 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, argtable }:
2019-03-26 14:45:59 +00:00
stdenv.mkDerivation rec {
version = "1.2.4";
pname = "clustal-omega";
2019-03-26 14:45:59 +00:00
src = fetchurl {
url = "http://www.clustal.org/omega/${pname}-${version}.tar.gz";
2019-03-26 14:45:59 +00:00
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 lib; {
2019-03-26 14:45:59 +00:00
description = "General purpose multiple sequence alignment program for protein and DNA/RNA";
homepage = "http://www.clustal.org/omega/";
2019-03-26 14:45:59 +00:00
license = licenses.gpl2;
maintainers = [ maintainers.bzizou ];
mainProgram = "clustalo";
2019-03-26 14:45:59 +00:00
platforms = platforms.unix;
};
}