···2 lib,
3 stdenv,
4 fetchurl,
00005}:
67-stdenv.mkDerivation rec {
8 version = "3.4";
9 pname = "hmmer";
1011 src = fetchurl {
12- url = "http://eddylab.org/software/hmmer/${pname}-${version}.tar.gz";
13- sha256 = "sha256-ynDZT9DPJxvXBjQjqrsRbULeUzEXNDqbJ6ZcF/8G+/M=";
14 };
1516- meta = with lib; {
000000000000000000000017 description = "Biosequence analysis using profile hidden Markov models";
18 longDescription = ''
19 HMMER is used for searching sequence databases for sequence homologs, and for making sequence alignments. It implements methods using probabilistic models called profile hidden Markov models (profile HMMs).
···22 HMMER can be downloaded and installed as a command line tool on your own hardware, and now it is also more widely accessible to the scientific community via new search servers at the European Bioinformatics Institute.
23 '';
24 homepage = "http://hmmer.org/";
25- changelog = "https://github.com/EddyRivasLab/hmmer/blob/hmmer-${version}/release-notes/RELEASE-${version}.md";
26- license = licenses.gpl3;
27- maintainers = [ maintainers.iimog ];
28- # at least SSE is *required*
29- platforms = platforms.x86_64;
30 };
31-}
···2 lib,
3 stdenv,
4 fetchurl,
5+ easel,
6+ perl,
7+ python3,
8+ versionCheckHook,
9}:
1011+stdenv.mkDerivation (finalAttrs: {
12 version = "3.4";
13 pname = "hmmer";
1415 src = fetchurl {
16+ url = "http://eddylab.org/software/hmmer/hmmer-${finalAttrs.version}.tar.gz";
17+ hash = "sha256-ynDZT9DPJxvXBjQjqrsRbULeUzEXNDqbJ6ZcF/8G+/M=";
18 };
1920+ enableParallelBuilding = true;
21+22+ doCheck = true;
23+24+ nativeCheckInputs = [
25+ perl
26+ python3
27+ ];
28+29+ preCheck = ''
30+ install -Dm755 ${easel.src}/devkit/sqc easel/devkit/sqc
31+ patchShebangs easel/devkit/sqc testsuite/* src/hmmpress.itest.pl
32+ '';
33+34+ doInstallCheck = true;
35+36+ nativeInstallCheckInputs = [ versionCheckHook ];
37+38+ versionCheckProgram = "${placeholder "out"}/bin/hmmalign";
39+40+ versionCheckProgramArg = [ "-h" ];
41+42+ meta = {
43 description = "Biosequence analysis using profile hidden Markov models";
44 longDescription = ''
45 HMMER is used for searching sequence databases for sequence homologs, and for making sequence alignments. It implements methods using probabilistic models called profile hidden Markov models (profile HMMs).
···48 HMMER can be downloaded and installed as a command line tool on your own hardware, and now it is also more widely accessible to the scientific community via new search servers at the European Bioinformatics Institute.
49 '';
50 homepage = "http://hmmer.org/";
51+ changelog = "https://github.com/EddyRivasLab/hmmer/blob/hmmer-${finalAttrs.version}/release-notes/RELEASE-${finalAttrs.version}.md";
52+ license = lib.licenses.bsd3;
53+ maintainers = [ lib.maintainers.iimog ];
54+ platforms = lib.platforms.unix;
055 };
56+})