11 description = "Fast and exact comparison and clustering of sequences";
12 homepage = "https://metabarcoding.org/sumatra";
13 maintainers = [ maintainers.bzizou ];
14 platforms = platforms.unix;
21 sumalibs = stdenv.mkDerivation rec {
24 src = fetchFromGitLab {
25 domain = "git.metabarcoding.org";
28 rev = "sumalib_v${version}";
29 sha256 = "0hwkrxzfz7m5wdjvmrhkjg8kis378iaqr5n4nhdhkwwhn8x1jn5a";
31 makeFlags = [ "PREFIX=$(out)" ];
36 sumatra = stdenv.mkDerivation rec {
39 src = fetchFromGitLab {
40 domain = "git.metabarcoding.org";
43 rev = "${pname}_v${version}";
44 sha256 = "1bbpbdkshdc3xffqnr1qfy8qk64ldsmdc3s8mrcrlx132rgbi5f6";
51 "LIBSUMA=${sumalibs}/lib/libsuma.a"
52 "LIBSUMAPATH=-L${sumalibs}"
59 sumaclust = stdenv.mkDerivation rec {
62 src = fetchFromGitLab {
63 domain = "git.metabarcoding.org";
66 rev = "${pname}_v${version}";
67 sha256 = "0x8yi3k3jxhmv2krp4rcjlj2f9zg0qrk7gx4kpclf9c3yxgsgrds";
69 buildInputs = [ sumalibs ];
71 "LIBSUMA=${sumalibs}/lib/libsuma.a"
72 "LIBSUMAPATH=-L${sumalibs}"