Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildPerlPackage, fetchFromGitHub }: 2 3buildPerlPackage rec { 4 pname = "BioExtAlign"; 5 version = "1.5.1"; 6 7 outputs = [ "out" "dev" ]; 8 9 src = fetchFromGitHub { 10 owner = "bioperl"; 11 repo = "bioperl-ext"; 12 rev = "bioperl-ext-release-${lib.replaceStrings ["."] ["-"] version}"; 13 sha256 = "sha256-+0tZ6q3PFem8DWa2vq+njOLmjDvMB0JhD0FGk00lVMA="; 14 }; 15 16 patches = [ ./fprintf.patch ]; 17 18 # Do not install other Bio-ext packages 19 preConfigure = '' 20 cd Bio/Ext/Align 21 ''; 22 23 # Disable tests as it requires Bio::Tools::Align which is in a different directory 24 buildPhase = '' 25 make 26 ''; 27 28 meta = { 29 homepage = "https://github.com/bioperl/bioperl-ext"; 30 description = "Write Perl Subroutines in Other Programming Languages"; 31 longDescription = '' 32 Part of BioPerl Extensions (BioPerl-Ext) distribution, a collection of Bioperl C-compiled extensions. 33 ''; 34 license = with lib.licenses; [ artistic1 ]; 35 }; 36}