lol
fork

Configure Feed

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

hmmer: enable aarch64 support (#370495)

authored by

Weijia Wang and committed by
GitHub
2cb020b4 4ed39fe8

+84 -10
+49
pkgs/by-name/ea/easel/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchFromGitHub, 5 + autoreconfHook, 6 + perl, 7 + python3, 8 + versionCheckHook, 9 + }: 10 + 11 + stdenv.mkDerivation (finalAttrs: { 12 + pname = "easel"; 13 + version = "0.49"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "EddyRivasLab"; 17 + repo = "easel"; 18 + tag = "easel-${finalAttrs.version}"; 19 + hash = "sha256-NSKy7ptNYR0K/VFJNv+5TGWdC1ZM4Y5i/3L+3Coj/sg="; 20 + }; 21 + 22 + nativeBuildInputs = [ autoreconfHook ]; 23 + 24 + enableParallelBuilding = true; 25 + 26 + doCheck = true; 27 + 28 + nativeCheckInputs = [ 29 + perl 30 + python3 31 + ]; 32 + 33 + preCheck = '' 34 + patchShebangs devkit/sqc 35 + ''; 36 + 37 + doInstallCheck = true; 38 + 39 + nativeInstallCheckInputs = [ versionCheckHook ]; 40 + 41 + meta = { 42 + description = "Sequence analysis library used by Eddy/Rivas lab code"; 43 + homepage = "https://github.com/EddyRivasLab/easel"; 44 + license = lib.licenses.bsd2; 45 + mainProgram = "easel"; 46 + maintainers = with lib.maintainers; [ natsukium ]; 47 + platforms = lib.platforms.unix; 48 + }; 49 + })
+35 -10
pkgs/by-name/hm/hmmer/package.nix
··· 2 2 lib, 3 3 stdenv, 4 4 fetchurl, 5 + easel, 6 + perl, 7 + python3, 8 + versionCheckHook, 5 9 }: 6 10 7 - stdenv.mkDerivation rec { 11 + stdenv.mkDerivation (finalAttrs: { 8 12 version = "3.4"; 9 13 pname = "hmmer"; 10 14 11 15 src = fetchurl { 12 - url = "http://eddylab.org/software/hmmer/${pname}-${version}.tar.gz"; 13 - sha256 = "sha256-ynDZT9DPJxvXBjQjqrsRbULeUzEXNDqbJ6ZcF/8G+/M="; 16 + url = "http://eddylab.org/software/hmmer/hmmer-${finalAttrs.version}.tar.gz"; 17 + hash = "sha256-ynDZT9DPJxvXBjQjqrsRbULeUzEXNDqbJ6ZcF/8G+/M="; 14 18 }; 15 19 16 - meta = with lib; { 20 + 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 = { 17 43 description = "Biosequence analysis using profile hidden Markov models"; 18 44 longDescription = '' 19 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). ··· 22 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. 23 49 ''; 24 50 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; 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; 30 55 }; 31 - } 56 + })