Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

58 lines
1.4 KiB
Nix

{
lib,
buildPerlPackage,
fetchFromGitHub,
}:
buildPerlPackage rec {
pname = "BioExtAlign";
version = "1.5.1";
outputs = [ "out" ];
src = fetchFromGitHub {
owner = "bioperl";
repo = "bioperl-ext";
rev = "bioperl-ext-release-${lib.replaceStrings [ "." ] [ "-" ] version}";
sha256 = "sha256-+0tZ6q3PFem8DWa2vq+njOLmjDvMB0JhD0FGk00lVMA=";
};
patches = [
# Starting for Perl 5.6, implicit function declaration are treated as errors
# There may be an error but ensembl-vep (the main package for this dependency)
# runs
./no-implicit-function.patch
# Tests need other parts of BioExt, disabling them
./disable-other-tests.patch
./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
'';
checkPhase = ''
runHook preCheck
make test
runHook postCheck
'';
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 ];
maintainers = with lib.maintainers; [ apraga ];
};
}