10 python3Packages.buildPythonApplication rec {
15 url = "https://git.metabarcoding.org/obitools/${pname}/repository/v${version}/archive.tar.gz";
16 sha256 = "1x7a0nrr9agg1pfgq8i1j8r1p6c0jpyxsv196ylix1dd2iivmas1";
20 python3Packages.cython
24 postPatch = lib.optionalString stdenv.hostPlatform.isAarch64 ''
25 substituteInPlace setup.py \
26 --replace "'-msse2'," ""
30 substituteInPlace src/CMakeLists.txt --replace \$'{PYTHONLIB}' "$out/${python3.sitePackages}";
31 export NIX_CFLAGS_COMPILE="-L $out/${python3.sitePackages} $NIX_CFLAGS_COMPILE"
39 description = "Management of analyses and data in DNA metabarcoding";
41 homepage = "https://git.metabarcoding.org/obitools/obitools3";
42 license = licenses.cecill20;
43 maintainers = [ maintainers.bzizou ];
44 platforms = platforms.all;