hmmer: enable tests

This commit is contained in:
natsukium
2025-01-03 13:44:55 +09:00
parent 0890b81333
commit e3f9d35315
+26
View File
@@ -2,6 +2,10 @@
lib,
stdenv,
fetchurl,
easel,
perl,
python3,
versionCheckHook,
}:
stdenv.mkDerivation rec {
@@ -13,6 +17,28 @@ stdenv.mkDerivation rec {
sha256 = "sha256-ynDZT9DPJxvXBjQjqrsRbULeUzEXNDqbJ6ZcF/8G+/M=";
};
enableParallelBuilding = true;
doCheck = true;
nativeCheckInputs = [
perl
python3
];
preCheck = ''
install -Dm755 ${easel.src}/devkit/sqc easel/devkit/sqc
patchShebangs easel/devkit/sqc testsuite/* src/hmmpress.itest.pl
'';
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgram = "${placeholder "out"}/bin/hmmalign";
versionCheckProgramArg = [ "-h" ];
meta = with lib; {
description = "Biosequence analysis using profile hidden Markov models";
longDescription = ''