bioextalign: init at 1.5.1
Part of BioPerl Extensions (BioPerl-Ext) distribution, a collection of Bioperl C-compiled extensions. These are no longer maintained but needed for Ensembl-VEP (annotation for genomics). Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
f77a8a1df0
commit
02ff423121
36
pkgs/development/perl-modules/Bio-Ext-Align/default.nix
Normal file
36
pkgs/development/perl-modules/Bio-Ext-Align/default.nix
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
{ lib, buildPerlPackage, fetchFromGitHub }:
|
||||||
|
|
||||||
|
buildPerlPackage rec {
|
||||||
|
pname = "BioExtAlign";
|
||||||
|
version = "1.5.1";
|
||||||
|
|
||||||
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "bioperl";
|
||||||
|
repo = "bioperl-ext";
|
||||||
|
rev = "bioperl-ext-release-${lib.replaceStrings ["."] ["-"] version}";
|
||||||
|
sha256 = "sha256-+0tZ6q3PFem8DWa2vq+njOLmjDvMB0JhD0FGk00lVMA=";
|
||||||
|
};
|
||||||
|
|
||||||
|
patches = [ ./fprintf.patch ];
|
||||||
|
|
||||||
|
# Do not install other Bio-ext packages
|
||||||
|
preConfigure = ''
|
||||||
|
cd Bio/Ext/Align
|
||||||
|
'';
|
||||||
|
|
||||||
|
# Disable tests as it requires Bio::Tools::Align which is in a different directory
|
||||||
|
buildPhase = ''
|
||||||
|
make
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "https://github.com/bioperl/bioperl-ext";
|
||||||
|
description = "Write Perl Subroutines in Other Programming Languages";
|
||||||
|
longDescription = ''
|
||||||
|
Part of BioPerl Extensions (BioPerl-Ext) distribution, a collection of Bioperl C-compiled extensions.
|
||||||
|
'';
|
||||||
|
license = with lib.licenses; [ artistic1 ];
|
||||||
|
};
|
||||||
|
}
|
13
pkgs/development/perl-modules/Bio-Ext-Align/fprintf.patch
Normal file
13
pkgs/development/perl-modules/Bio-Ext-Align/fprintf.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/libs/dpalign.c b/libs/dpalign.c
|
||||||
|
index 0e07b67..0eab932 100644
|
||||||
|
--- a/Bio/Ext/Align/libs/dpalign.c
|
||||||
|
+++ b/Bio/Ext/Align/libs/dpalign.c
|
||||||
|
@@ -40,7 +40,7 @@ int blosum62[24][24] = {
|
||||||
|
void
|
||||||
|
dpAlign_fatal(char * s)
|
||||||
|
{
|
||||||
|
- fprintf(stderr, s);
|
||||||
|
+ fputs(stderr, s);
|
||||||
|
exit(-1);
|
||||||
|
}
|
||||||
|
|
@ -1594,6 +1594,8 @@ let
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
BioExtAlign = callPackage ../development/perl-modules/Bio-Ext-Align { };
|
||||||
|
|
||||||
BioPerl = buildPerlPackage {
|
BioPerl = buildPerlPackage {
|
||||||
pname = "BioPerl";
|
pname = "BioPerl";
|
||||||
version = "1.7.8";
|
version = "1.7.8";
|
||||||
|
Loading…
Reference in New Issue
Block a user