nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

sortmerna: 4.2.0 -> 4.3.7 (#385984)

authored by

Pol Dellaiera and committed by
GitHub
271771df 5a0bf22b

+17 -14
+17 -14
pkgs/by-name/so/sortmerna/package.nix
··· 11 11 12 12 let 13 13 rocksdb = rocksdb_8_3; 14 + concurrentqueue = fetchFromGitHub { 15 + owner = "cameron314"; 16 + repo = "concurrentqueue"; 17 + tag = "v1.0.4"; 18 + hash = "sha256-MkhlDme6ZwKPuRINhfpv7cxliI2GU3RmTfC6O0ke/IQ="; 19 + }; 14 20 in 15 21 stdenv.mkDerivation rec { 16 22 pname = "sortmerna"; 17 - version = "4.2.0"; 23 + version = "4.3.7"; 18 24 19 25 src = fetchFromGitHub { 26 + owner = "sortmerna"; 20 27 repo = "sortmerna"; 21 - owner = "biocore"; 22 - rev = "v${version}"; 23 - sha256 = "0r91viylzr069jm7kpcgb45kagvf8sqcj5zc1af4arl9sgfs1f3j"; 28 + tag = "v${version}"; 29 + hash = "sha256-oxwZBkeW3usEcJE1XLu1UigKsgOsljwGFTpb7U3845I="; 24 30 }; 25 31 26 32 nativeBuildInputs = [ 27 33 cmake 28 34 pkg-config 29 35 ]; 36 + 30 37 buildInputs = [ 31 38 zlib 32 39 rocksdb ··· 44 37 "-DPORTABLE=off" 45 38 "-DRAPIDJSON_HOME=${rapidjson}" 46 39 "-DROCKSDB_HOME=${rocksdb}" 40 + "-DCONCURRENTQUEUE_HOME=${concurrentqueue}" 47 41 "-DROCKSDB_STATIC=off" 48 42 "-DZLIB_STATIC=off" 49 43 ]; 50 44 51 45 postPatch = '' 52 - # Fix formatting string error: 53 - # https://github.com/biocore/sortmerna/issues/255 54 - substituteInPlace src/sortmerna/indexdb.cpp \ 55 - --replace 'is_verbose, ss' 'is_verbose, "%s", ss' 56 - 57 46 # Fix missing pthread dependency for the main binary. 58 47 substituteInPlace src/sortmerna/CMakeLists.txt \ 59 - --replace "target_link_libraries(sortmerna" \ 48 + --replace-fail "target_link_libraries(sortmerna" \ 60 49 "target_link_libraries(sortmerna Threads::Threads" 61 50 62 51 # Fix gcc-13 build by adding missing <cstdint> includes: ··· 60 57 sed -e '1i #include <cstdint>' -i include/kseq_load.hpp 61 58 ''; 62 59 63 - meta = with lib; { 60 + meta = { 64 61 description = "Tools for filtering, mapping, and OTU-picking from shotgun genomics data"; 65 62 mainProgram = "sortmerna"; 66 - license = licenses.lgpl3; 67 - platforms = platforms.x86_64; 63 + license = lib.licenses.lgpl3; 64 + platforms = lib.platforms.x86_64; 68 65 homepage = "https://bioinfo.lifl.fr/RNA/sortmerna/"; 69 - maintainers = with maintainers; [ luispedro ]; 66 + maintainers = with lib.maintainers; [ luispedro ]; 70 67 broken = stdenv.hostPlatform.isDarwin; 71 68 }; 72 69 }