···1+{ stdenv, fetchurl, cmake, gcc, zlib }:
2+3+stdenv.mkDerivation rec {
4+ name = "diamond-0.8.36";
5+6+ src = fetchurl {
7+ url = "https://github.com/bbuchfink/diamond/archive/v0.8.36.tar.gz";
8+ sha256 = "092smzzjcg51n3x4h84k52ijpz9m40ri838j9k2i463ribc3c8rh";
9+ };
10+11+ patches = [
12+ ./diamond-0.8.36-no-warning.patch
13+ ];
14+15+ nativeBuildInputs = [ cmake ];
16+ buildInputs = [ zlib ];
17+18+ meta = with stdenv.lib; {
19+ description = "Accelerated BLAST compatible local sequence aligner";
20+ longDescription = ''
21+ A sequence aligner for protein and translated DNA
22+ searches and functions as a drop-in replacement for the NCBI BLAST
23+ software tools. It is suitable for protein-protein search as well as
24+ DNA-protein search on short reads and longer sequences including contigs
25+ and assemblies, providing a speedup of BLAST ranging up to x20,000.
26+27+ DIAMOND is developed by Benjamin Buchfink. Feel free to contact him for support (Email Twitter).
28+29+ If you use DIAMOND in published research, please cite
30+ B. Buchfink, Xie C., D. Huson,
31+ "Fast and sensitive protein alignment using DIAMOND",
32+ Nature Methods 12, 59-60 (2015).
33+ '';
34+ homepage = https://github.com/bbuchfink/diamond;
35+ license = {
36+ fullName = "University of Tuebingen, Benjamin Buchfink";
37+ url = https://raw.githubusercontent.com/bbuchfink/diamond/master/src/COPYING;
38+ };
39+ maintainers = [ maintainers.metabar ];
40+ };
41+}