···11+{ stdenv, fetchurl, cmake, gcc, zlib }:
22+33+stdenv.mkDerivation rec {
44+ name = "diamond-0.8.36";
55+66+ src = fetchurl {
77+ url = "https://github.com/bbuchfink/diamond/archive/v0.8.36.tar.gz";
88+ sha256 = "092smzzjcg51n3x4h84k52ijpz9m40ri838j9k2i463ribc3c8rh";
99+ };
1010+1111+ patches = [
1212+ ./diamond-0.8.36-no-warning.patch
1313+ ];
1414+1515+ nativeBuildInputs = [ cmake ];
1616+ buildInputs = [ zlib ];
1717+1818+ meta = with stdenv.lib; {
1919+ description = "Accelerated BLAST compatible local sequence aligner";
2020+ longDescription = ''
2121+ A sequence aligner for protein and translated DNA
2222+ searches and functions as a drop-in replacement for the NCBI BLAST
2323+ software tools. It is suitable for protein-protein search as well as
2424+ DNA-protein search on short reads and longer sequences including contigs
2525+ and assemblies, providing a speedup of BLAST ranging up to x20,000.
2626+2727+ DIAMOND is developed by Benjamin Buchfink. Feel free to contact him for support (Email Twitter).
2828+2929+ If you use DIAMOND in published research, please cite
3030+ B. Buchfink, Xie C., D. Huson,
3131+ "Fast and sensitive protein alignment using DIAMOND",
3232+ Nature Methods 12, 59-60 (2015).
3333+ '';
3434+ homepage = https://github.com/bbuchfink/diamond;
3535+ license = {
3636+ fullName = "University of Tuebingen, Benjamin Buchfink";
3737+ url = https://raw.githubusercontent.com/bbuchfink/diamond/master/src/COPYING;
3838+ };
3939+ maintainers = [ maintainers.metabar ];
4040+ };
4141+}